Package com.aquima.web.sessionmanager
Interface IExternalSessionManager
- All Superinterfaces:
com.blueriq.component.api.IAquimaSessionsMap
- All Known Implementing Classes:
ExternalSessionManager
public interface IExternalSessionManager
extends com.blueriq.component.api.IAquimaSessionsMap
Extends the basic session manager with external session store specific methods.
- Since:
- 11.0
- Author:
- Petru Galanton
-
Method Summary
Modifier and TypeMethodDescriptionkeyFor
(com.blueriq.component.api.IAquimaSession session) Returns the key where the provided session would be stored in the underlying key-value store.Returns the key where a session with the provided session id would be stored in the underlying key-value store.Methods inherited from interface com.blueriq.component.api.IAquimaSessionsMap
addChildSession, addSession, cleanIdleSessions, closeSession, flush, getAvailableSessionIds, getChildSessions, getChildSessions, getMainSessionIds, getRootSession, getSession, getSession, getSessionTimeoutMillis, hasSession, keepAlive, terminateSession, updateSession
-
Method Details
-
keyFor
Returns the key where a session with the provided session id would be stored in the underlying key-value store.- Parameters:
sessionId
- the id of a session, must not be null- Returns:
- the corresponding key in the key-value store
-
keyFor
Returns the key where the provided session would be stored in the underlying key-value store.- Parameters:
session
- the session, must not be null- Returns:
- the corresponding key in the key-value store
-