Package org.eclipse.jetty.session
Class CachingSessionDataStoreFactory
java.lang.Object
org.eclipse.jetty.session.AbstractSessionDataStoreFactory
org.eclipse.jetty.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 TypeMethodDescriptionGet the SessionDataMapFactory.getSessionDataStore
(SessionManager manager) void
setSessionDataMapFactory
(SessionDataMapFactory mapFactory) Set the SessionDataMapFactory.void
Methods inherited from class org.eclipse.jetty.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
Get the SessionDataMapFactory.- Returns:
- the SessionDataMapFactory
-
setSessionDataMapFactory
Set the SessionDataMapFactory.- Parameters:
mapFactory
- the SessionDataMapFactory
-
setSessionStoreFactory
- Parameters:
factory
- The factory for the actual SessionDataStore that the CachingSessionDataStore will delegate to
-
getSessionDataStore
- Throws:
Exception
-