public class InfinispanSessionDataStoreFactory extends AbstractSessionDataStoreFactory
Constructor and Description |
---|
InfinispanSessionDataStoreFactory() |
Modifier and Type | Method and Description |
---|---|
org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object> |
getCache()
Get the clustered cache instance.
|
int |
getInfinispanIdleTimeoutSec() |
SessionDataStore |
getSessionDataStore(SessionHandler handler) |
void |
setCache(org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object> cache)
Set the clustered cache instance.
|
void |
setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec) |
getGracePeriodSec, getSavePeriodSec, setGracePeriodSec, setSavePeriodSec
public int getInfinispanIdleTimeoutSec()
public void setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec)
infinispanIdleTimeoutSec
- the infinispanIdleTimeoutSec to setpublic SessionDataStore getSessionDataStore(SessionHandler handler) throws java.lang.Exception
java.lang.Exception
SessionDataStoreFactory.getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler)
public org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object> getCache()
public void setCache(org.infinispan.commons.api.BasicCache<java.lang.String,java.lang.Object> cache)
cache
- the cacheCopyright © 1995–2023 Webtide. All rights reserved.