public interface SessionMessage extends ClusterMessage
public static final int EVT_SESSION_CREATED
public static final int EVT_SESSION_EXPIRED
public static final int EVT_SESSION_ACCESSED
public static final int EVT_GET_ALL_SESSIONS
public static final int EVT_SESSION_DELTA
public static final int EVT_ALL_SESSION_DATA
public static final int EVT_ALL_SESSION_TRANSFERCOMPLETE
public static final int EVT_CHANGE_SESSION_ID
public static final int EVT_ALL_SESSION_NOCONTEXTMANAGER
| Modifier and Type | Field and Description | 
|---|---|
| static int | EVT_ALL_SESSION_DATAWhen a session state is transferred, this is the event. | 
| static int | EVT_ALL_SESSION_NOCONTEXTMANAGEREvent type used when context manager doesn't exist. | 
| static int | EVT_ALL_SESSION_TRANSFERCOMPLETEWhen a session state is complete transferred, this is the event. | 
| static int | EVT_CHANGE_SESSION_IDEvent type used when a sessionID has been changed. | 
| static int | EVT_GET_ALL_SESSIONSEvent type used when a server comes online for the first time. | 
| static int | EVT_SESSION_ACCESSEDEvent type used when a session has been accessed (ie, last access time
 has been updated. | 
| static int | EVT_SESSION_CREATEDEvent type used when a session has been created on a node | 
| static int | EVT_SESSION_DELTAEvent 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_EXPIREDEvent type used when a session has expired | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getContextName() | 
| int | getEventType()returns the event type | 
| String | getEventTypeString() | 
| byte[] | getSession() | 
| String | getSessionID() | 
getAddress, getTimestamp, getUniqueId, setAddress, setTimestamp, setUniqueIdstatic final int EVT_SESSION_CREATED
static final int EVT_SESSION_EXPIRED
static final int EVT_SESSION_ACCESSED
static final int EVT_GET_ALL_SESSIONS
static final int EVT_SESSION_DELTA
static final int EVT_ALL_SESSION_DATA
static final int EVT_ALL_SESSION_TRANSFERCOMPLETE
static final int EVT_CHANGE_SESSION_ID
static final int EVT_ALL_SESSION_NOCONTEXTMANAGER
String getContextName()
String getEventTypeString()
int getEventType()
byte[] getSession()
String getSessionID()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.