public abstract class AbstractSessionCache extends Object implements SessionCache
Modifier and Type | Field and Description |
---|---|
protected Region<String,javax.servlet.http.HttpSession> |
operatingRegion
The operatingRegion is the
Region used to do HTTP operations. |
protected SessionManager |
sessionManager |
protected Region<String,javax.servlet.http.HttpSession> |
sessionRegion
The sessionRegion is the
Region that actually stores and replicates the
Session s. |
protected org.apache.geode.modules.session.catalina.internal.DeltaSessionStatistics |
statistics |
Constructor and Description |
---|
AbstractSessionCache(SessionManager sessionManager) |
Modifier and Type | Method and Description |
---|---|
protected RegionConfiguration |
createRegionConfiguration() |
protected void |
createStatistics() |
void |
destroySession(String sessionId) |
Region<String,javax.servlet.http.HttpSession> |
getOperatingRegion() |
String |
getOperatingRegionName() |
javax.servlet.http.HttpSession |
getSession(String sessionId) |
protected SessionManager |
getSessionManager() |
Region<String,javax.servlet.http.HttpSession> |
getSessionRegion() |
String |
getSessionRegionName() |
org.apache.geode.modules.session.catalina.internal.DeltaSessionStatistics |
getStatistics() |
void |
putSession(org.apache.catalina.Session session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCache, getDefaultEnableLocalCache, getDefaultRegionAttributesId, initialize, isBackingCacheAvailable, isClientServer, isPeerToPeer, keySet, size, touchSessions
protected SessionManager sessionManager
protected Region<String,javax.servlet.http.HttpSession> sessionRegion
Region
that actually stores and replicates the
Session
s.protected Region<String,javax.servlet.http.HttpSession> operatingRegion
Region
used to do HTTP operations. if local cache is
enabled, then this will be the local Region
; otherwise, it will be the session
Region
.protected org.apache.geode.modules.session.catalina.internal.DeltaSessionStatistics statistics
public AbstractSessionCache(SessionManager sessionManager)
public String getSessionRegionName()
getSessionRegionName
in interface SessionCache
public String getOperatingRegionName()
getOperatingRegionName
in interface SessionCache
public void putSession(org.apache.catalina.Session session)
putSession
in interface SessionCache
public javax.servlet.http.HttpSession getSession(String sessionId)
getSession
in interface SessionCache
public void destroySession(String sessionId)
destroySession
in interface SessionCache
public org.apache.geode.modules.session.catalina.internal.DeltaSessionStatistics getStatistics()
getStatistics
in interface SessionCache
protected SessionManager getSessionManager()
public Region<String,javax.servlet.http.HttpSession> getSessionRegion()
getSessionRegion
in interface SessionCache
public Region<String,javax.servlet.http.HttpSession> getOperatingRegion()
getOperatingRegion
in interface SessionCache
protected void createStatistics()
protected RegionConfiguration createRegionConfiguration()