Class NoSqlSessionDataStore

All Implemented Interfaces:
SessionDataMap, SessionDataStore, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Direct Known Subclasses:
MongoSessionDataStore

public abstract class NoSqlSessionDataStore extends AbstractSessionDataStore
NoSqlSessionDataStore
  • Constructor Details

    • NoSqlSessionDataStore

      public NoSqlSessionDataStore()
  • Method Details

    • newSessionData

      public SessionData newSessionData(String id, long created, long accessed, long lastAccessed, long maxInactiveMs)
      Description copied from interface: SessionDataStore
      Create a new SessionData
      Specified by:
      newSessionData in interface SessionDataStore
      Overrides:
      newSessionData in class AbstractSessionDataStore
      Parameters:
      id - the id
      created - the timestamp when created
      accessed - the timestamp when accessed
      lastAccessed - the timestamp when last accessed
      maxInactiveMs - the max inactive time in milliseconds
      Returns:
      a new SessionData object