|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The common interface used by all cluster manager. This is so that we can have a more pluggable way of swapping session managers for different algorithms.
Method Summary | |
CatalinaCluster |
getCluster()
|
java.lang.String[] |
getInvalidatedSessions()
When the manager expires session not tied to a request. |
java.lang.String |
getName()
Return the name of the manager, at host /context name and at engine hostname+/context. |
boolean |
isDefaultMode()
|
boolean |
isSendClusterDomainOnly()
|
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(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. |
void |
setCluster(CatalinaCluster cluster)
|
void |
setDefaultMode(boolean mode)
|
void |
setName(java.lang.String name)
Set the name of the manager, at host /context name and at engine hostname+/context |
void |
setSendClusterDomainOnly(boolean sendClusterDomainOnly)
|
Method Detail |
public void messageDataReceived(ClusterMessage msg)
msg
- - the message received.public ClusterMessage requestCompleted(java.lang.String sessionId)
sessionId
- - the sessionId that just completed.
public java.lang.String[] getInvalidatedSessions()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- public CatalinaCluster getCluster()
public void setCluster(CatalinaCluster cluster)
public boolean isSendClusterDomainOnly()
public void setSendClusterDomainOnly(boolean sendClusterDomainOnly)
sendClusterDomainOnly
- Flag value.public void setDefaultMode(boolean mode)
mode
- The modepublic boolean isDefaultMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |