@SessionStateInterface public interface SentinelCommonSessionState extends NullSentinelSessionState
Modifier and Type | Field and Description |
---|---|
static boolean |
_initialSessionHasEnded |
static SessionType |
_initialSessionType |
Modifier and Type | Method and Description |
---|---|
com.opencloud.sentinel.common.SentinelProtocol |
getProtocol()
Returns the current protocol in use by the service.
|
com.opencloud.sentinel.common.SentinelSelectionKey |
getSentinelSelectionKey()
Get the sentinel selection key associated with this session.
|
boolean |
getSessionHasEnded()
Check if the current session has ended or not.
|
SessionType |
getSessionType()
Get the type of this session.
|
java.lang.String |
getSubscriber()
Get the subscriber associated with the current session.
|
void |
setProtocol(com.opencloud.sentinel.common.SentinelProtocol protocol)
Sets the current protocol in use by the service.
|
void |
setSentinelSelectionKey(com.opencloud.sentinel.common.SentinelSelectionKey SentinelSelectionKey)
Set the current sentinel selection key associated with this session.
|
void |
setSessionHasEnded(boolean SessionHasEnded)
Record that the session has ended.
|
void |
setSessionType(SessionType SessionType)
Set the session type
|
void |
setSubscriber(java.lang.String Subscriber)
set the Subscriber for this session
|
static final SessionType _initialSessionType
static final boolean _initialSessionHasEnded
void setSubscriber(java.lang.String Subscriber)
java.lang.String getSubscriber()
@DatatypeCodecType(value=<error>) void setSentinelSelectionKey(com.opencloud.sentinel.common.SentinelSelectionKey SentinelSelectionKey)
getSentinelSelectionKey()
and update the sentinel selection key that is returned.com.opencloud.sentinel.common.SentinelSelectionKey getSentinelSelectionKey()
setSentinelSelectionKey
.@InitialValueField void setSessionType(SessionType SessionType)
SessionType getSessionType()
@InitialValueField void setSessionHasEnded(boolean SessionHasEnded)
boolean getSessionHasEnded()
void setProtocol(com.opencloud.sentinel.common.SentinelProtocol protocol)
com.opencloud.sentinel.common.SentinelProtocol getProtocol()
Copyright © OpenCloud. All Rights Reserved.