public interface SessionIdGenerator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateSessionId()
Generate and return a new session identifier.
|
java.lang.String |
generateSessionId(java.lang.String route)
Generate and return a new session identifier.
|
java.lang.String |
getJvmRoute()
Return the node identifier associated with this node which will be
included in the generated session ID.
|
int |
getSessionIdLength()
Return the number of bytes for a session ID
|
void |
setJvmRoute(java.lang.String jvmRoute)
Specify the node identifier associated with this node which will be
included in the generated session ID.
|
void |
setSessionIdLength(int sessionIdLength)
Specify the number of bytes for a session ID
|
java.lang.String getJvmRoute()
void setJvmRoute(java.lang.String jvmRoute)
jvmRoute
- The node identifierint getSessionIdLength()
void setSessionIdLength(int sessionIdLength)
sessionIdLength
- Number of bytesjava.lang.String generateSessionId()
java.lang.String generateSessionId(java.lang.String route)
route
- node identifier to include in generated idCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.