Chapter 17: Clustering Attribute Name Description Default channelSendOptions

Chapter 17: Clustering Attribute Name Description Default channelSendOptions Option flags are included with messages sent and can be used to trigger Apache Tribes channel interceptors. The numerical value is a logical OR of flag values including: Channel.SEND_OPTIONS_ASYNCHRONUS 8 Channel.SEND_OPTIONS_BYTE_MESSAGE 1 Channel.SEND_OPTIONS_SECURE 16 Channel.SEND_OPTIONS_SYNCHRONIZED_ACK 4 Channel.SEND_OPTIONS_USE_ACK 2 11 (async with ack) The channelSendOptionsvalue is used by the DeltaManager only. If you switch to the BackupManager, this options value is not used. The default value of 11, asynchronous sent with ACK, is adequate in most cases. Configuring DeltaManager or BackupManager The component is the first mandatory nested component within the . Here, you can configure an instance of either DeltaManageror BackupManagerusing the following attributes. Attribute Name Description Default className name notifyListeners- OnReplication expireSessions- OnShutdown domainReplication mapSendOptions For SimpleTcpCluster, only org.apache.catalina.ha .session.DeltaManageror org.apache.catalina.ha .session.BackupManager are available. A name for the cluster manager. The same name should be used on all instances. Indicates if any session listeners should be notified when sessions are replicated between Tomcat instances. Specifies whether it is necessary to expire (and replicate the expiry) of all sessions upon application shutdown. Specifies whether replication should be limited to domain members only; the domain is set as an attribute of the tag. This option is available only with the DeltaManager. When using the BackupManager, this maps the send options that are set to trigger interceptors. See the channelSendOptions attribute of the tag for possible values. false false false 8 (async) Both DeltaManagerand BackupManager send replication information to others via channels from the Apache Tribes group communications library. Configuring Apache Tribes Communications Framework A channel is an abstract endpoint, analogous to a socket, that a member of the group can send and receive replicated information through. Channels are managed and implemented by the Apache Tribes communications framework. The Apache Tribes framework provides the following services:

For high quality website hosting services please check java web hosting website.

Comments are closed.