public interface SessionStore
Implementations may impose their own behavior on storage. For example: maximum concurrent session limits, idle timeouts etc.
Modifier and Type | Method and Description |
---|---|
SessionStorage |
get(String sessionId)
Retrieve the session storage for the given id, creating it on demand if necessary.
|
long |
size()
The number of currently stored sessions.
|
SessionStorage get(String sessionId)
sessionId
- The id of the session to retrieve the storage forlong size()