• 卓帕卡布拉动作/冒险Windows/Linux/Macintosh 2018-12-12
  • 使命召唤15:黑色行动4windows 2018-12-12
  • “地才”的他们崛起,证明努力绝对是件好事 2018-12-12
  • 扶贫领域腐败问题督查:乡干部成了“包工头”? 2018-12-12
  • #游戏江湖事#政确选黑,玩家选白,游戏公司应当站哪边?瓦克五1226 2018-12-12
  • 大神活动网易炉石大神计划启动 2018-12-12
  • 新游前瞻玩家的饕餮盛宴!2018年全平台必玩游戏推荐!(中) 2018-12-12
  • 林郑月娥:香港不会改变自由贸易的重要地位 2018-12-12
  • 兔子角斗士动作/冒险Windows 2018-12-12
  • 圣兽助战《梦幻西游》手游九黎之墟帮派守护兽解锁 2018-12-12
  • 中日交易所签署备忘录助推中日ETF实现互通 2018-12-12
  • 《七人传奇:英雄集结》公测卡 2018-12-12
  • 暗黑“3”分钟第一期:猎魔人天下第一火多重 2018-12-12
  • 感恩节马赛克拼图解谜Windows/Macintosh 2018-12-12
  • 使命召唤15:黑色行动4windows 2018-12-12
  • The Cluster Channel object

    Table of Contents

    Introduction

    The cluster channel is the main component of a small framework we've nicknamed Apache Tribes.
    The channel manages a set of sub components and together they create a group communication framework.
    This framework is then used internally by the components that need to send messages between different Tomcat instances.
    A few examples of these components would be the SimpleTcpCluster that does the messaging for the DeltaManager, or the BackupManager that uses a different replication strategy. The ReplicatedContext object does also use the channel object to communicate context attribute changes.

    Nested Components

    新开户送体验金68 www.oneworldfilmnet.com Channel/Membership:
    The Membership component is responsible for auto discovering new nodes in the cluster and also to provide for notifications for any nodes that have not responded with a heartbeat. The default implementation uses multicast.
    In the membership component you configure how your nodes, aka. members, are to be discovered and/or divided up. You can always find out more about Apache Tribes

    Channel/Sender:
    The Sender component manages all outbound connections and data messages that are sent over the network from one node to another. This component allows messages to be sent in parallel. The default implementation uses TCP client sockets, and socket tuning for outgoing messages are configured here.
    You can always find out more about Apache Tribes

    Channel/Sender/Transport:
    The Transport component is the bottom IO layer for the sender component. The default implementation uses non-blocking TCP client sockets.
    You can always find out more about Apache Tribes

    Channel/Receiver:
    The receiver component listens for messages from other nodes. Here you will configure the cluster thread pool, as it will dispatch incoming messages to a thread pool for faster processing. The default implementation uses non-blocking TCP server sockets.
    You can always find out more about Apache Tribes

    Channel/Interceptor:
    The channel will send messages through an interceptor stack. Because of this, you have the ability to customize the way messages are sent and received, and even how membership is handled.
    You can always find out more about Apache Tribes

    Attributes

    Common Attributes

    Attribute Description
    className The default value here is org.apache.catalina.tribes.group.GroupChannel and is currently the only implementation available.

    org.apache.catalina.tribes.group.GroupChannel Attributes

    Attribute Description
    heartbeat Flag whether the channel manages its own heartbeat. If set to true, the channel start a local thread for the heart beat. If set this flag to false, you must set SimpleTcpCluster#heartbeatBackgroundEnabled to true. default value is true.
    heartbeatSleeptime If heartbeat == true, specifies the interval of heartbeat thread in milliseconds. The default is 5000 (5 seconds).
    optionCheck If set to true, the GroupChannel will check the option flags that each interceptor is using. Reports an error if two interceptor share the same flag. The default is false.
    jmxEnabled Flag whether the channel components register with JMX or not. The default value is true.
    jmxDomain if jmxEnabled set to true, specifies the jmx domain which this channel should be registered. The ClusterChannel is used as the default value.
    jmxPrefix if jmxEnabled set to true, specifies the jmx prefix which will be used with channel ObjectName.

    Comments

    Notice: This comments section collects your suggestions on improving documentation for Apache Tomcat.

    If you have trouble and need help, read Find Help page and ask your question on the tomcat-users 新开户送体验金68. Do not ask such questions here. This is not a Q&A section.

    The Apache Comments System is explained here. Comments may be removed by our moderators if they are either implemented or considered invalid/off-topic.

  • 新开户送体验金68
  • 投哪网如何使用现金券
  • 外汇平台开户送体验金
  • 乐虎国际手机平台 | 旋乐吧spin8 | 利来在线 | 利来app | 高博亚洲 |