Methods Summary |
---|
public org.apache.catalina.ha.ClusterManager | cloneFromTemplate()
|
public boolean | doDomainReplication()
|
public CatalinaCluster | getCluster()
|
public java.lang.String[] | getInvalidatedSessions()When the manager expires session not tied to a request.
The cluster will periodically ask for a list of sessions
that should expire and that should be sent across the wire.
|
public java.lang.String | getName()Return the name of the manager, at host /context name and at engine hostname+/context.
|
public org.apache.catalina.tribes.io.ReplicationStream | getReplicationStream(byte[] data)
|
public org.apache.catalina.tribes.io.ReplicationStream | getReplicationStream(byte[] data, int offset, int length)
|
public boolean | isDefaultMode()
|
public boolean | isNotifyListenersOnReplication()
|
public 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.
|
public ClusterMessage | requestCompleted(java.lang.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.
If there is a need for replication, the manager will
create a session message and that will be replicated.
The cluster determines where it gets sent.
|
public void | setCluster(CatalinaCluster cluster)
|
public void | setDefaultMode(boolean mode)
|
public void | setDomainReplication(boolean domainReplication)
|
public void | setName(java.lang.String name)Set the name of the manager, at host /context name and at engine hostname+/context
|