public class PeerToPeerSessionCache extends AbstractSessionCache
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFAULT_ENABLE_LOCAL_CACHE |
protected static java.lang.String |
DEFAULT_REGION_ATTRIBUTES_ID |
operatingRegion, sessionManager, sessionRegion, statistics
Constructor and Description |
---|
PeerToPeerSessionCache(SessionManager sessionManager,
Cache cache) |
Modifier and Type | Method and Description |
---|---|
protected void |
createOrRetrieveRegion() |
GemFireCache |
getCache() |
boolean |
getDefaultEnableLocalCache() |
java.lang.String |
getDefaultRegionAttributesId() |
void |
initialize() |
boolean |
isBackingCacheAvailable()
For peer-to-peer the backing cache *is* what's embedded in tomcat so it's always available
|
boolean |
isClientServer() |
boolean |
isPeerToPeer() |
java.util.Set<java.lang.String> |
keySet() |
int |
size() |
void |
touchSessions(java.util.Set<java.lang.String> sessionIds) |
createRegionConfiguration, createStatistics, destroySession, getOperatingRegion, getOperatingRegionName, getSession, getSessionManager, getSessionRegion, getSessionRegionName, getStatistics, putSession
protected static final java.lang.String DEFAULT_REGION_ATTRIBUTES_ID
protected static final boolean DEFAULT_ENABLE_LOCAL_CACHE
public PeerToPeerSessionCache(SessionManager sessionManager, Cache cache)
public void initialize()
public java.lang.String getDefaultRegionAttributesId()
public boolean getDefaultEnableLocalCache()
public void touchSessions(java.util.Set<java.lang.String> sessionIds)
public boolean isPeerToPeer()
public boolean isClientServer()
public java.util.Set<java.lang.String> keySet()
public int size()
public GemFireCache getCache()
public boolean isBackingCacheAvailable()
protected void createOrRetrieveRegion()