Class InfinispanSessionDataStoreFactory
java.lang.Object
org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
org.eclipse.jetty.session.infinispan.InfinispanSessionDataStoreFactory
- All Implemented Interfaces:
SessionDataStoreFactory
InfinispanSessionDataStoreFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.api.BasicCache<String,
InfinispanSessionData> getCache()
Get the clustered cache instance.int
boolean
getSessionDataStore
(SessionHandler handler) void
setCache
(org.infinispan.commons.api.BasicCache<String, InfinispanSessionData> cache) Set the clustered cache instance.void
setInfinispanIdleTimeoutSec
(int infinispanIdleTimeoutSec) void
setQueryManager
(QueryManager queryManager) void
setSerialization
(boolean serialization) Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
getGracePeriodSec, getSavePeriodSec, setGracePeriodSec, setSavePeriodSec
-
Field Details
-
_queryManager
-
_serialization
protected boolean _serialization
-
-
Constructor Details
-
InfinispanSessionDataStoreFactory
public InfinispanSessionDataStoreFactory()
-
-
Method Details
-
getInfinispanIdleTimeoutSec
public int getInfinispanIdleTimeoutSec()- Returns:
- the infinispanIdleTimeoutSec
-
setInfinispanIdleTimeoutSec
public void setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec) - Parameters:
infinispanIdleTimeoutSec
- the infinispanIdleTimeoutSec to set
-
getSessionDataStore
- Throws:
Exception
-
getCache
Get the clustered cache instance.- Returns:
- the cache
-
setCache
Set the clustered cache instance.- Parameters:
cache
- the cache
-
getQueryManager
-
setQueryManager
-
setSerialization
public void setSerialization(boolean serialization) -
getSerialization
public boolean getSerialization()
-