public class CarbonTomcatSessionMessage
extends org.apache.axis2.clustering.ClusteringMessage
implements org.apache.catalina.ha.session.SessionMessage
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.catalina.tribes.Member |
address |
| Constructor and Description |
|---|
CarbonTomcatSessionMessage() |
CarbonTomcatSessionMessage(String contextName,
int eventtype,
byte[] session,
String sessionID,
String uniqueID)
Deprecated.
|
CarbonTomcatSessionMessage(String contextName,
int eventtype,
byte[] session,
String sessionID,
String uniqueID,
int tenantId) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.apache.axis2.context.ConfigurationContext mainConfigContext) |
org.apache.catalina.tribes.Member |
getAddress() |
String |
getContextName() |
int |
getEventType()
returns the event type
|
String |
getEventTypeString()
clear text event type name (for logging purpose only)
|
org.apache.axis2.clustering.ClusteringCommand |
getResponse() |
byte[] |
getSession() |
String |
getSessionID() |
long |
getTimestamp() |
String |
getUniqueId() |
void |
setAddress(org.apache.catalina.tribes.Member member) |
void |
setTenantId(int tenantId) |
void |
setTimestamp(long time)
set message send time but only the first setting works (one shot)
|
String |
toString() |
public CarbonTomcatSessionMessage()
public CarbonTomcatSessionMessage(String contextName, int eventtype, byte[] session, String sessionID, String uniqueID, int tenantId)
@Deprecated public CarbonTomcatSessionMessage(String contextName, int eventtype, byte[] session, String sessionID, String uniqueID)
contextName - - the name of the context (applicationeventtype - - one of the 8 event type defined in this classsession - - the serialized byte array of the session itselfsessionID - - the id that identifies this sessionuniqueID - - the id that identifies this messagepublic int getEventType()
getEventType in interface org.apache.catalina.ha.session.SessionMessagepublic byte[] getSession()
getSession in interface org.apache.catalina.ha.session.SessionMessagepublic String getSessionID()
getSessionID in interface org.apache.catalina.ha.session.SessionMessagepublic void setTimestamp(long time)
setTimestamp in interface org.apache.catalina.ha.ClusterMessagepublic long getTimestamp()
getTimestamp in interface org.apache.catalina.ha.ClusterMessagegetTimestamp in class org.apache.axis2.clustering.ClusteringMessagepublic String getEventTypeString()
getEventTypeString in interface org.apache.catalina.ha.session.SessionMessagepublic String getContextName()
getContextName in interface org.apache.catalina.ha.session.SessionMessagepublic org.apache.catalina.tribes.Member getAddress()
getAddress in interface org.apache.catalina.ha.ClusterMessagepublic void setAddress(org.apache.catalina.tribes.Member member)
setAddress in interface org.apache.catalina.ha.ClusterMessagepublic String getUniqueId()
getUniqueId in interface org.apache.catalina.ha.ClusterMessagepublic org.apache.axis2.clustering.ClusteringCommand getResponse()
getResponse in class org.apache.axis2.clustering.ClusteringMessagepublic void setTenantId(int tenantId)
public void execute(org.apache.axis2.context.ConfigurationContext mainConfigContext)
throws org.apache.axis2.clustering.ClusteringFault
execute in class org.apache.axis2.clustering.ClusteringCommandorg.apache.axis2.clustering.ClusteringFaultCopyright © 2021 WSO2. All rights reserved.