Class CachingSessionDataStoreFactory
java.lang.Object
org.eclipse.jetty.session.AbstractSessionDataStoreFactory
org.eclipse.jetty.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 TypeMethodDescriptionGet the SessionDataMapFactory.getSessionDataStore(SessionManager manager) voidsetSessionDataMapFactory(SessionDataMapFactory mapFactory) Set the SessionDataMapFactory.voidMethods inherited from class 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
-