public interface SessionIdGenerator
Modifier and Type | Method and Description |
---|---|
String |
generateSessionId()
Generate and return a new session identifier.
|
String |
generateSessionId(String route)
Generate and return a new session identifier.
|
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(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
|
String getJvmRoute()
void setJvmRoute(String jvmRoute)
jvmRoute
- The node identifierint getSessionIdLength()
void setSessionIdLength(int sessionIdLength)
sessionIdLength
- Number of bytesString generateSessionId()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.