org.apache.catalina.ha.session
public class JvmRouteSessionIDBinderListener extends ClusterListener
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Field Summary | |
---|---|
protected static String | info
The descriptive information about this implementation. |
protected boolean | started |
Constructor Summary | |
---|---|
JvmRouteSessionIDBinderListener() |
Method Summary | |
---|---|
boolean | accept(ClusterMessage msg)
Accept only SessionIDMessages
|
String | getInfo()
Return descriptive information about this implementation. |
long | getNumberOfSessions() |
void | messageReceived(ClusterMessage msg)
Callback from the cluster, when a message is received, The cluster will
broadcast it invoking the messageReceived on the receiver.
|
void | start()
Add this Mover as Cluster Listener ( receiver)
|
void | stop()
Remove this from Cluster Listener
|
Parameters: msg ClusterMessage
Returns: boolean - returns true to indicate that messageReceived should be invoked. If false is returned, the messageReceived method will not be invoked.
Returns: Returns the numberOfSessions.
Parameters: msg ClusterMessage - the message received from the cluster
Throws: LifecycleException
Throws: LifecycleException