Class Tomcat8DeltaSessionManager
- java.lang.Object
-
- org.apache.catalina.session.ManagerBase
-
- org.apache.geode.modules.session.catalina.DeltaSessionManager<Tomcat8CommitSessionValve>
-
- org.apache.geode.modules.session.catalina.Tomcat8DeltaSessionManager
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,javax.management.MBeanRegistration
,org.apache.catalina.Lifecycle
,org.apache.catalina.Manager
,SessionManager
public class Tomcat8DeltaSessionManager extends DeltaSessionManager<Tomcat8CommitSessionValve>
-
-
Field Summary
-
Fields inherited from class org.apache.geode.modules.session.catalina.DeltaSessionManager
name, regionName, started
-
Fields inherited from class org.apache.catalina.session.ManagerBase
algorithm, container, DEFAULT_ALGORITHM, devRandomSource, digest, distributable, domain, duplicates, entropy, expiredSessions, initialized, log, maxActive, maxInactiveInterval, mserver, oname, processExpiresFrequency, processingTime, random, randomClass, randomIS, sessionAverageAliveTime, sessionCounter, sessionCreationTiming, sessionExpirationTiming, sessionIdLength, sessionMaxAliveTime, sessions, sm, support, TIMING_STATS_CACHE_SIZE
-
-
Constructor Summary
Constructors Constructor Description Tomcat8DeltaSessionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Tomcat8CommitSessionValve
createCommitSessionValve()
int
getMaxInactiveInterval()
protected org.apache.catalina.session.StandardSession
getNewSession()
protected org.apache.catalina.Pipeline
getPipeline()
org.apache.catalina.Context
getTheContext()
void
setMaxInactiveInterval(int interval)
void
startInternal()
Prepare for the beginning of active use of the public methods of this component.void
stopInternal()
Gracefully terminate the active use of the public methods of this component.-
Methods inherited from class org.apache.geode.modules.session.catalina.DeltaSessionManager
add, cancelTimer, findSession, getActiveSessions, getEnableDebugListener, getEnableGatewayDeltaReplication, getEnableGatewayReplication, getEnableLocalCache, getLogger, getMaxActiveSessions, getPreferDeserializedForm, getRegionAttributesId, getRegionName, getRejectedSessions, getSessionCache, getSessionsToTouch, getStatistics, getStatisticsName, initializeSessionCache, isBackingCacheAvailable, isClientServer, isCommitValveEnabled, isCommitValveFailfastEnabled, listSessionIds, load, propertyChange, registerCommitSessionValve, registerJvmRouteBinderValve, remove, scheduleTimerTasks, setContainer, setEnableCommitValve, setEnableCommitValveFailfast, setEnableDebugListener, setEnableGatewayDeltaReplication, setEnableGatewayReplication, setEnableLocalCache, setMaxActiveSessions, setPreferDeserializedForm, setRegionAttributesId, setRegionName, setRejectedSessions, toString, unload, unregisterCommitSessionValve, unregisterJvmRouteBinderValve
-
Methods inherited from class org.apache.catalina.session.ManagerBase
addPropertyChangeListener, backgroundProcess, changeSessionId, createEmptySession, createSession, createSession, destroy, expireSession, findSessions, generateSessionId, getAlgorithm, getClassName, getContainer, getCreationTime, getCreationTimestamp, getDigest, getDistributable, getDomain, getDuplicates, getEngine, getEntropy, getExpiredSessions, getInfo, getJvmRoute, getLastAccessedTime, getLastAccessedTimestamp, getMaxActive, getName, getObjectName, getProcessExpiresFrequency, getProcessingTime, getRandom, getRandomBytes, getRandomClass, getRandomFile, getSession, getSessionAttribute, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdLength, getSessionMaxAliveTime, init, postDeregister, postRegister, preDeregister, preRegister, processExpires, removePropertyChangeListener, setAlgorithm, setDistributable, setDuplicates, setEntropy, setExpiredSessions, setMaxActive, setProcessExpiresFrequency, setProcessingTime, setRandomClass, setRandomFile, setSessionAverageAliveTime, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime
-
-
-
-
Method Detail
-
startInternal
public void startInternal() throws org.apache.catalina.LifecycleException
Prepare for the beginning of active use of the public methods of this component. This method should be called afterconfigure()
, and before any of the public methods of the component are utilized.- Throws:
org.apache.catalina.LifecycleException
- if this component detects a fatal error that prevents this component from being used
-
stopInternal
public void stopInternal() throws org.apache.catalina.LifecycleException
Gracefully terminate the active use of the public methods of this component. This method should be the last one called on a given instance of this component.- Throws:
org.apache.catalina.LifecycleException
- if this component detects a fatal error that needs to be reported
-
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interfaceorg.apache.catalina.Manager
- Specified by:
getMaxInactiveInterval
in interfaceSessionManager
- Overrides:
getMaxInactiveInterval
in classorg.apache.catalina.session.ManagerBase
-
getPipeline
protected org.apache.catalina.Pipeline getPipeline()
-
createCommitSessionValve
protected Tomcat8CommitSessionValve createCommitSessionValve()
- Specified by:
createCommitSessionValve
in classDeltaSessionManager<Tomcat8CommitSessionValve>
-
getTheContext
public org.apache.catalina.Context getTheContext()
- Overrides:
getTheContext
in classDeltaSessionManager<Tomcat8CommitSessionValve>
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
- Specified by:
setMaxInactiveInterval
in interfaceorg.apache.catalina.Manager
- Overrides:
setMaxInactiveInterval
in classDeltaSessionManager<Tomcat8CommitSessionValve>
-
getNewSession
protected org.apache.catalina.session.StandardSession getNewSession()
- Overrides:
getNewSession
in classDeltaSessionManager<Tomcat8CommitSessionValve>
-
-