public class PeerToPeerSessionCache extends AbstractSessionCache
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFAULT_ENABLE_LOCAL_CACHE |
protected static String |
DEFAULT_REGION_ATTRIBUTES_ID |
sessionManager, statistics
Constructor and Description |
---|
PeerToPeerSessionCache(SessionManager sessionManager,
Cache cache) |
Modifier and Type | Method and Description |
---|---|
protected void |
createOrRetrieveRegion() |
GemFireCache |
getCache() |
boolean |
getDefaultEnableLocalCache() |
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() |
Set<String> |
keySet() |
int |
size() |
void |
touchSessions(Set<String> sessionIds) |
destroySession, getOperatingRegion, getOperatingRegionName, getSession, getSessionManager, getSessionRegion, getStatistics, putSession
protected static final String DEFAULT_REGION_ATTRIBUTES_ID
protected static final boolean DEFAULT_ENABLE_LOCAL_CACHE
public PeerToPeerSessionCache(SessionManager sessionManager, Cache cache)
public void initialize()
public String getDefaultRegionAttributesId()
public boolean getDefaultEnableLocalCache()
public boolean isPeerToPeer()
public boolean isClientServer()
public int size()
public GemFireCache getCache()
public boolean isBackingCacheAvailable()
protected void createOrRetrieveRegion()