org.apache.catalina.ha.session
public interface SessionMessage extends ClusterMessage, Serializable
public static final int EVT_SESSION_CREATED
public static final int EVT_SESSION_ACCESSED
public static final int EVT_ATTRIBUTE_ADDED
public static final int EVT_ATTRIBUTE_REMOVED
public static final int EVT_SESSION_EXPIRED_WONOTIFY
public static final int EVT_SESSION_EXPIRED_WNOTIFY
public static final int EVT_GET_ALL_SESSIONS
public static final int EVT_SET_USER_PRINCIPAL
public static final int EVT_SET_SESSION_NOTE
public static final int EVT_REMOVE_SESSION_NOTE
Field Summary | |
---|---|
static int | EVT_ALL_SESSION_DATA
When a session state is transferred, this is the event. |
static int | EVT_ALL_SESSION_TRANSFERCOMPLETE
When a session state is complete transferred, this is the event. |
static int | EVT_GET_ALL_SESSIONS
Event type used when a server comes online for the first time.
|
static int | EVT_SESSION_ACCESSED
Event type used when a session has been accessed (ie, last access time
has been updated. |
static int | EVT_SESSION_CREATED
Event type used when a session has been created on a node |
static int | EVT_SESSION_DELTA
Event type used when an attribute has been added to a session,
the attribute will be sent to all the other nodes in the cluster |
static int | EVT_SESSION_EXPIRED
Event type used when a session has expired |
Method Summary | |
---|---|
String | getContextName() |
int | getEventType()
returns the event type |
String | getEventTypeString() |
byte[] | getSession() |
String | getSessionID() |
Returns: one of the event types EVT_XXXX
Returns: the serialized data for the session
Returns: the session ID for the session