Package org.eclipse.jetty.server.session
Class CachingSessionDataStoreFactory
java.lang.Object
org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
org.eclipse.jetty.server.session.CachingSessionDataStoreFactory
- All Implemented Interfaces:
SessionDataStoreFactory
CachingSessionDataStoreFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SessionDataMapFactoryprotected SessionDataStoreFactoryThe SessionDataStore that will store session data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSessionDataStore(SessionHandler handler) voidsetSessionDataMapFactory(SessionDataMapFactory mapFactory) voidMethods inherited from class org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
getGracePeriodSec, getSavePeriodSec, setGracePeriodSec, setSavePeriodSec
-
Field Details
-
_sessionStoreFactory
The SessionDataStore that will store session data. -
_mapFactory
-
-
Constructor Details
-
CachingSessionDataStoreFactory
public CachingSessionDataStoreFactory()
-
-
Method Details
-
getMapFactory
- Returns:
- the SessionDataMapFactory
-
setSessionDataMapFactory
- Parameters:
mapFactory- the SessionDataMapFactory
-
setSessionStoreFactory
- Parameters:
factory- The factory for the actual SessionDataStore that the CachingSessionDataStore will delegate to
-
getSessionDataStore
- Throws:
Exception
-