| org.apache.catalina.cluster.ClusterManager
All known Subclasses: org.apache.catalina.cluster.session.DeltaManager, org.apache.catalina.cluster.session.SimpleTcpReplicationManager,
ClusterManager | public interface ClusterManager extends Manager(Code) | | |
getInvalidatedSessions | public String[] getInvalidatedSessions()(Code) | | 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.
String[] The invalidated sessions |
getName | public String getName()(Code) | | Return the name of the manager, typically the context name such as /replicator
String |
messageDataReceived | public void messageDataReceived(SessionMessage msg)(Code) | | A message was received from another node, this
is the callback method to implement if you are interested in
receiving replication messages.
Parameters: msg - - the message received. |
requestCompleted | public SessionMessage requestCompleted(String sessionId)(Code) | | 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.
Parameters: sessionId - - the sessionId that just completed. a SessionMessage to be sent, |
setExpireSessionsOnShutdown | public void setExpireSessionsOnShutdown(boolean expireSessionsOnShutdown)(Code) | | |
setUseDirtyFlag | public void setUseDirtyFlag(boolean useDirtyFlag)(Code) | | |
|
|