Class NoSqlSessionDataStore
- All Implemented Interfaces:
SessionDataMap, SessionDataStore, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
- Direct Known Subclasses:
MongoSessionDataStore
NoSqlSessionDataStore
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
Fields inherited from class AbstractSessionDataStore
_context, _gracePeriodSec, _lastExpiryCheckTime, _lastOrphanSweepTime, _savePeriodSec, DEFAULT_GRACE_PERIOD_SEC, DEFAULT_SAVE_PERIOD_SEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewSessionData(String id, long created, long accessed, long lastAccessed, long maxInactiveMs) Create a new SessionDataMethods inherited from class ObjectStreamSessionDataStore
deserializeAttributes, newObjectInputStream, newObjectOutputStream, serializeAttributesMethods inherited from class AbstractSessionDataStore
checkStarted, cleanOrphans, doCheckExpired, doCleanOrphans, doExists, doGetExpired, doLoad, doStart, doStore, exists, getExpired, getGracePeriodSec, getSavePeriodSec, initialize, load, setGracePeriodSec, setSavePeriodSec, store, toStringMethods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Container
getCachedBeans, getEventListenersMethods inherited from interface Dumpable.DumpableContainer
isDumpableMethods inherited from interface LifeCycle
addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stopMethods inherited from interface SessionDataMap
deleteMethods inherited from interface SessionDataStore
isPassivating
-
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:SessionDataStoreCreate a new SessionData- Specified by:
newSessionDatain interfaceSessionDataStore- Overrides:
newSessionDatain classAbstractSessionDataStore- Parameters:
id- the idcreated- the timestamp when createdaccessed- the timestamp when accessedlastAccessed- the timestamp when last accessedmaxInactiveMs- the max inactive time in milliseconds- Returns:
- a new SessionData object
-