Class InfinispanSessionDataStoreFactory
- java.lang.Object
-
- org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
-
- org.eclipse.jetty.session.infinispan.InfinispanSessionDataStoreFactory
-
- All Implemented Interfaces:
org.eclipse.jetty.server.session.SessionDataStoreFactory
public class InfinispanSessionDataStoreFactory extends org.eclipse.jetty.server.session.AbstractSessionDataStoreFactoryInfinispanSessionDataStoreFactory
-
-
Constructor Summary
Constructors Constructor Description InfinispanSessionDataStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object>getCache()Get the clustered cache instance.intgetInfinispanIdleTimeoutSec()org.eclipse.jetty.server.session.SessionDataStoregetSessionDataStore(org.eclipse.jetty.server.session.SessionHandler handler)voidsetCache(org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object> cache)Set the clustered cache instance.voidsetInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec)
-
-
-
Method Detail
-
getInfinispanIdleTimeoutSec
public int getInfinispanIdleTimeoutSec()
- Returns:
- the infinispanIdleTimeoutSec
-
setInfinispanIdleTimeoutSec
public void setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec)
- Parameters:
infinispanIdleTimeoutSec- the infinispanIdleTimeoutSec to set
-
getSessionDataStore
public org.eclipse.jetty.server.session.SessionDataStore getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler handler) throws java.lang.Exception- Throws:
java.lang.Exception- See Also:
SessionDataStoreFactory.getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler)
-
getCache
public org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object> getCache()
Get the clustered cache instance.- Returns:
- the cache
-
setCache
public void setCache(org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object> cache)
Set the clustered cache instance.- Parameters:
cache- the cache
-
-