org.apache.catalina.ha
public interface ClusterManager extends Manager
| Method Summary | |
|---|---|
| ClusterManager | cloneFromTemplate() |
| boolean | doDomainReplication() |
| CatalinaCluster | getCluster() |
| String[] | getInvalidatedSessions()
When the manager expires session not tied to a request.
|
| String | getName()
Return the name of the manager, at host /context name and at engine hostname+/context. |
| ReplicationStream | getReplicationStream(byte[] data) |
| ReplicationStream | getReplicationStream(byte[] data, int offset, int length) |
| boolean | isDefaultMode() |
| boolean | isNotifyListenersOnReplication() |
| void | messageDataReceived(ClusterMessage msg)
A message was received from another node, this
is the callback method to implement if you are interested in
receiving replication messages. |
| ClusterMessage | requestCompleted(String sessionId)
When the request has been completed, the replication valve
will notify the manager, and the manager will decide whether
any replication is needed or not.
|
| void | setCluster(CatalinaCluster cluster) |
| void | setDefaultMode(boolean mode) |
| void | setDomainReplication(boolean domainReplication) |
| void | setName(String name)
Set the name of the manager, at host /context name and at engine hostname+/context |
Returns: Manager send only to same cluster domain.
Since: 5.5.10
Returns: String[] The invalidated sessions
Returns: String
Since: 5.5.10
Since: 5.5.10
Parameters: msg - the message received.
Parameters: sessionId - the sessionId that just completed.
Returns: a SessionMessage to be sent.
Parameters: mode The mode
Since: 5.5.10
Parameters: sendClusterDomainOnly Flag value.
Since: 5.5.10
Parameters: name
Since: 5.5.10