VMware GemFire Java API Reference
Class ClientServerSessionCache
- java.lang.Object
-
- org.apache.geode.modules.session.catalina.AbstractSessionCache
-
- org.apache.geode.modules.session.catalina.ClientServerSessionCache
-
- All Implemented Interfaces:
SessionCache
public class ClientServerSessionCache extends AbstractSessionCache
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleanDEFAULT_ENABLE_LOCAL_CACHEprotected static StringDEFAULT_REGION_ATTRIBUTES_ID-
Fields inherited from class org.apache.geode.modules.session.catalina.AbstractSessionCache
sessionManager, statistics
-
-
Constructor Summary
Constructors Constructor Description ClientServerSessionCache(SessionManager sessionManager, ClientCache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateOrRetrieveRegion()GemFireCachegetCache()booleangetDefaultEnableLocalCache()StringgetDefaultRegionAttributesId()voidinitialize()booleanisBackingCacheAvailable()booleanisClientServer()booleanisPeerToPeer()Set<String>keySet()intsize()voidtouchSessions(Set<String> sessionIds)-
Methods inherited from class org.apache.geode.modules.session.catalina.AbstractSessionCache
destroySession, getOperatingRegion, getOperatingRegionName, getSession, getSessionManager, getSessionRegion, getStatistics, putSession
-
-
-
-
Field Detail
-
DEFAULT_REGION_ATTRIBUTES_ID
protected static final String DEFAULT_REGION_ATTRIBUTES_ID
-
DEFAULT_ENABLE_LOCAL_CACHE
protected static final boolean DEFAULT_ENABLE_LOCAL_CACHE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClientServerSessionCache
public ClientServerSessionCache(SessionManager sessionManager, ClientCache cache)
-
-
Method Detail
-
initialize
public void initialize()
-
getDefaultRegionAttributesId
public String getDefaultRegionAttributesId()
-
getDefaultEnableLocalCache
public boolean getDefaultEnableLocalCache()
-
isPeerToPeer
public boolean isPeerToPeer()
-
isClientServer
public boolean isClientServer()
-
size
public int size()
-
isBackingCacheAvailable
public boolean isBackingCacheAvailable()
-
getCache
public GemFireCache getCache()
-
createOrRetrieveRegion
protected void createOrRetrieveRegion()
-
-