public class Tomcat7DeltaSessionManager extends DeltaSessionManager<Tomcat7CommitSessionValve>
Modifier and Type | Field and Description |
---|---|
protected org.apache.catalina.util.LifecycleSupport |
lifecycle
The
LifecycleSupport for this component. |
name, regionName, started
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 and Description |
---|
Tomcat7DeltaSessionManager() |
Modifier and Type | Method and Description |
---|---|
void |
addLifecycleListener(org.apache.catalina.LifecycleListener listener)
Add a lifecycle event listener to this component.
|
protected Tomcat7CommitSessionValve |
createCommitSessionValve() |
org.apache.catalina.LifecycleListener[] |
findLifecycleListeners()
Get the lifecycle listeners associated with this lifecycle.
|
protected org.apache.catalina.session.StandardSession |
getNewSession() |
void |
removeLifecycleListener(org.apache.catalina.LifecycleListener listener)
Remove a lifecycle event listener from this component.
|
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.
|
add, cancelTimer, findSession, getActiveSessions, getEnableDebugListener, getEnableGatewayDeltaReplication, getEnableGatewayReplication, getEnableLocalCache, getLogger, getMaxActiveSessions, getPreferDeserializedForm, getRegionAttributesId, getRegionName, getRejectedSessions, getSessionCache, getSessionsToTouch, getStatistics, getStatisticsName, getTheContext, initializeSessionCache, isBackingCacheAvailable, isClientServer, isCommitValveEnabled, isCommitValveFailfastEnabled, listSessionIds, load, propertyChange, registerCommitSessionValve, registerJvmRouteBinderValve, remove, scheduleTimerTasks, setContainer, setEnableCommitValve, setEnableCommitValveFailfast, setEnableDebugListener, setEnableGatewayDeltaReplication, setEnableGatewayReplication, setEnableLocalCache, setMaxActiveSessions, setMaxInactiveInterval, setPreferDeserializedForm, setRegionAttributesId, setRegionName, setRejectedSessions, toString, unload, unregisterCommitSessionValve, unregisterJvmRouteBinderValve
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, getMaxInactiveInterval, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMaxInactiveInterval
protected org.apache.catalina.util.LifecycleSupport lifecycle
LifecycleSupport
for this component.public void startInternal() throws org.apache.catalina.LifecycleException
configure()
, and before any of the public methods of the
component are utilized.org.apache.catalina.LifecycleException
- if this component detects a fatal error that prevents this component
from being usedpublic void stopInternal() throws org.apache.catalina.LifecycleException
org.apache.catalina.LifecycleException
- if this component detects a fatal error that needs to be reportedpublic void addLifecycleListener(org.apache.catalina.LifecycleListener listener)
listener
- The listener to addpublic org.apache.catalina.LifecycleListener[] findLifecycleListeners()
public void removeLifecycleListener(org.apache.catalina.LifecycleListener listener)
listener
- The listener to removeprotected org.apache.catalina.session.StandardSession getNewSession()
getNewSession
in class DeltaSessionManager<Tomcat7CommitSessionValve>
protected Tomcat7CommitSessionValve createCommitSessionValve()
createCommitSessionValve
in class DeltaSessionManager<Tomcat7CommitSessionValve>