| java.lang.Object org.apache.catalina.ha.ClusterListener org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener
JvmRouteSessionIDBinderListener | public class JvmRouteSessionIDBinderListener extends ClusterListener (Code) | | Receive SessionID cluster change from other backup node after primary session
node is failed.
author: Peter Rossbach version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Field Summary | |
final protected static String | info The descriptive information about this implementation. | protected boolean | started |
Method Summary | |
public boolean | accept(ClusterMessage msg) Accept only SessionIDMessages
Parameters: msg - ClusterMessage boolean - returns true to indicate that messageReceived should beinvoked. | public String | getInfo() Return descriptive information about this implementation. | public long | getNumberOfSessions() | public void | messageReceived(ClusterMessage msg) Callback from the cluster, when a message is received, The cluster will
broadcast it invoking the messageReceived on the receiver. | public void | start() | public void | stop() |
info | final protected static String info(Code) | | The descriptive information about this implementation.
|
started | protected boolean started(Code) | | |
JvmRouteSessionIDBinderListener | public JvmRouteSessionIDBinderListener()(Code) | | |
accept | public boolean accept(ClusterMessage msg)(Code) | | Accept only SessionIDMessages
Parameters: msg - ClusterMessage boolean - returns true to indicate that messageReceived should beinvoked. If false is returned, the messageReceived method willnot be invoked. |
getInfo | public String getInfo()(Code) | | Return descriptive information about this implementation.
|
getNumberOfSessions | public long getNumberOfSessions()(Code) | | Returns the numberOfSessions. |
messageReceived | public void messageReceived(ClusterMessage msg)(Code) | | Callback from the cluster, when a message is received, The cluster will
broadcast it invoking the messageReceived on the receiver.
Parameters: msg - ClusterMessage - the message received from the cluster |
|
|