public class InfinispanSessionDataStoreFactory extends AbstractSessionDataStoreFactory
| Constructor and Description |
|---|
InfinispanSessionDataStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.commons.api.BasicCache<String,Object> |
getCache()
Get the clustered cache instance.
|
int |
getInfinispanIdleTimeoutSec() |
SessionDataStore |
getSessionDataStore(SessionHandler handler) |
void |
setCache(org.infinispan.commons.api.BasicCache<String,Object> cache)
Set the clustered cache instance.
|
void |
setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec) |
getGracePeriodSec, setGracePeriodSecpublic int getInfinispanIdleTimeoutSec()
public void setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec)
infinispanIdleTimeoutSec - the infinispanIdleTimeoutSec to setpublic SessionDataStore getSessionDataStore(SessionHandler handler) throws Exception
public org.infinispan.commons.api.BasicCache<String,Object> getCache()
Copyright © 1995–2017 Webtide. All rights reserved.