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 Link icon

    Modifier and Type
    Method
    Description
    keyFor(com.blueriq.component.api.IAquimaSession session)
    Returns the key where the provided session would be stored in the underlying key-value store.
    keyFor(String sessionId)
    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 Link icon

    addChildSession, addSession, cleanIdleSessions, closeSession, flush, getAvailableSessionIds, getChildSessions, getChildSessions, getMainSessionIds, getRootSession, getSession, getSession, getSessionTimeoutMillis, hasSession, keepAlive, terminateSession, updateSession
  • Method Details Link icon

    • keyFor Link icon

      String keyFor(String sessionId)
      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 Link icon

      String keyFor(com.blueriq.component.api.IAquimaSession session)
      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