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
Modifier and TypeFieldDescriptionprotected SessionDataMapFactory
protected SessionDataStoreFactory
The SessionDataStore that will store session data. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSessionDataStore
(SessionHandler handler) void
setSessionDataMapFactory
(SessionDataMapFactory mapFactory) void
Methods 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
-