|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.util.LifecycleBase
org.apache.catalina.util.LifecycleMBeanBase
org.apache.catalina.session.ManagerBase
de.javakaffee.web.msm.MemcachedBackupSessionManager
de.javakaffee.web.msm.DummyMemcachedBackupSessionManager
public class DummyMemcachedBackupSessionManager
This MemcachedBackupSessionManager can be used for debugging session
deserialization - to see if serialized session data actually can be
deserialized. Session data is serialized at the end of the request as normal (stored
in a simple map), and deserialized when a following request is asking for the session.
The deserialization is done like this (instead of directly at the end of the request
when it is serialized) to perform deserialization at the same point in the lifecycle
as it would happen in the real failover case (there might be difference in respect
to initialized ThreadLocals or other stuff).
The memcached configuration (memcachedNodes, failoverNode) is
not used to create a memcached client, so serialized session data will not
be sent to memcached - and therefore no running memcacheds are required. Though, the
memcachedNodes attribute is still required (use some dummy values).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.catalina.session.ManagerBase |
|---|
org.apache.catalina.session.ManagerBase.SessionTiming |
| Field Summary |
|---|
| Fields inherited from class de.javakaffee.web.msm.MemcachedBackupSessionManager |
|---|
_log, _msm, NAME |
| Fields inherited from class org.apache.catalina.session.ManagerBase |
|---|
container, distributable, duplicates, expiredSessions, maxActive, maxActiveSessions, maxInactiveInterval, processExpiresFrequency, processingTime, rejectedSessions, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, sessionCounter, sessionCreationTiming, sessionExpirationTiming, sessionIdGenerator, sessionIdLength, sessionMaxAliveTime, sessions, sm, support, TIMING_STATS_CACHE_SIZE |
| Fields inherited from class org.apache.catalina.util.LifecycleMBeanBase |
|---|
mserver |
| Fields inherited from interface org.apache.catalina.Lifecycle |
|---|
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT |
| Constructor Summary | |
|---|---|
DummyMemcachedBackupSessionManager()
|
|
| Method Summary |
|---|
| Methods inherited from class org.apache.catalina.session.ManagerBase |
|---|
add, addPropertyChangeListener, findSessions, getActiveSessions, getClassName, getContainer, getCreationTime, getCreationTimestamp, getDistributable, getDomainInternal, getDuplicates, getEngine, getExpiredSessions, getJvmRoute, getLastAccessedTime, getLastAccessedTimestamp, getMaxActive, getMaxActiveSessions, getMaxInactiveInterval, getNewSession, getObjectNameKeyProperties, getProcessExpiresFrequency, getProcessingTime, getRejectedSessions, getSecureRandomAlgorithm, getSecureRandomClass, getSecureRandomProvider, getSession, getSessionAttribute, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdLength, getSessionMaxAliveTime, getThisAccessedTime, getThisAccessedTimestamp, initInternal, listSessionIds, processExpires, propertyChange, remove, removePropertyChangeListener, setContainer, setDistributable, setDuplicates, setExpiredSessions, setMaxActive, setMaxActiveSessions, setMaxInactiveInterval, setProcessExpiresFrequency, setProcessingTime, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProvider, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime, toString, updateSessionMaxAliveTime |
| Methods inherited from class org.apache.catalina.util.LifecycleMBeanBase |
|---|
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister |
| Methods inherited from class org.apache.catalina.util.LifecycleBase |
|---|
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, init, removeLifecycleListener, setState, setState, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.catalina.Lifecycle |
|---|
addLifecycleListener, destroy, findLifecycleListeners, getState, getStateName, init, removeLifecycleListener, start, stop |
| Methods inherited from interface java.beans.PropertyChangeListener |
|---|
propertyChange |
| Methods inherited from interface de.javakaffee.web.msm.MemcachedSessionService.SessionManager |
|---|
getContainer, getJvmRoute, getMaxActiveSessions, setProcessExpiresFrequency |
| Methods inherited from interface org.apache.catalina.Manager |
|---|
add, addPropertyChangeListener, findSessions, getActiveSessions, getDistributable, getExpiredSessions, getMaxActive, getMaxInactiveInterval, getRejectedSessions, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdLength, getSessionMaxAliveTime, remove, removePropertyChangeListener, setContainer, setDistributable, setExpiredSessions, setMaxActive, setMaxInactiveInterval, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime |
| Constructor Detail |
|---|
public DummyMemcachedBackupSessionManager()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||