SessionDataStoreFactorypublic class InfinispanSessionDataStoreFactory extends AbstractSessionDataStoreFactory
| Constructor | Description |
|---|---|
InfinispanSessionDataStoreFactory() |
| Modifier and Type | Method | 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, setSavePeriodSecpublic int getInfinispanIdleTimeoutSec()
public void setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec)
infinispanIdleTimeoutSec - the infinispanIdleTimeoutSec to setpublic SessionDataStore getSessionDataStore(SessionHandler handler) throws java.lang.Exception
java.lang.ExceptionSessionDataStoreFactory.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–2018 Webtide. All rights reserved.