public class DummyMemcachedBackupSessionManager extends MemcachedBackupSessionManager
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).
_log, _msm, NAMEdistributable, duplicates, expiredSessions, maxActive, maxActiveSessions, maxInactiveInterval, processExpiresFrequency, processingTime, rejectedSessions, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, sessionCounter, sessionCreationTiming, sessionExpirationTiming, sessionIdGenerator, sessionIdLength, sessionMaxAliveTime, sessions, sm, support, TIMING_STATS_CACHE_SIZEAFTER_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 and Description |
|---|
DummyMemcachedBackupSessionManager() |
backgroundProcess, changeSessionId, contextHasFormBasedSecurityConstraint, createEmptySession, createSession, expireSession, findSession, generateSessionId, getBackupThreadCount, getContainerClassLoader, getFailoverNodes, getMemcachedNodes, getMemcachedSessionService, getMsmStatAttributesSerializationInfo, getMsmStatBackupInfo, getMsmStatCachedDataSizeInfo, getMsmStatEffectiveBackupInfo, getMsmStatMemcachedUpdateInfo, getMsmStatNonStickyAcquireLockFailureInfo, getMsmStatNonStickyAcquireLockInfo, getMsmStatNonStickyAfterBackupInfo, getMsmStatNonStickyAfterDeleteFromMemcachedInfo, getMsmStatNonStickyAfterLoadFromMemcachedInfo, getMsmStatNonStickyOnBackupWithoutLoadedSessionInfo, getMsmStatNonStickyReleaseLockInfo, getMsmStatNumBackupFailures, getMsmStatNumMemcachedFailover, getMsmStatNumNoAttributesAccess, getMsmStatNumNonStickySessionsPingFailed, getMsmStatNumNonStickySessionsReadOnlyRequest, getMsmStatNumNoSessionAccess, getMsmStatNumNoSessionModification, getMsmStatNumRequestsWithoutSession, getMsmStatNumRequestsWithSession, getMsmStatNumTomcatFailover, getMsmStatSessionDeserializationInfo, getMsmStatSessionsDeletedFromMemcachedInfo, getMsmStatSessionsLoadedFromMemcachedInfo, getName, getOperationTimeout, getSessionAttributeFilter, getSessionBackupTimeout, getSessionCookieName, getSessionInternal, getSessionsInternal, getSetCookieHeaders, getString, getString, incrementRejectedSessions, incrementSessionCounter, isEnabled, isInitialized, isSessionBackupAsync, isSticky, load, newMemcachedBackupSession, readPrincipal, remove, removeInternal, setBackupThreadCount, setCopyCollectionsForSerialization, setCustomConverter, setEnabled, setEnableStatistics, setFailoverNodes, setLockingMode, setLockingMode, setMemcachedNodes, setMemcachedProtocol, setOperationTimeout, setPassword, setRequestUriIgnorePattern, setSessionAttributeFilter, setSessionBackupAsync, setSessionBackupTimeout, setSticky, setStorageKeyPrefix, setTranscoderFactoryClass, setUsername, startInternal, stopInternal, unloadadd, addPropertyChangeListener, changeSessionId, changeSessionId, findSessions, getActiveSessions, getClassName, getContainer, getContext, 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, setContext, setDistributable, setDuplicates, setExpiredSessions, setMaxActive, setMaxActiveSessions, setMaxInactiveInterval, setProcessExpiresFrequency, setProcessingTime, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProvider, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime, toString, updateSessionMaxAliveTimedestroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisteraddLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, init, removeLifecycleListener, setState, setState, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifecycleListener, destroy, findLifecycleListeners, getState, getStateName, init, removeLifecycleListener, start, stoppropertyChangegetContainer, getJvmRoute, getMaxActiveSessions, getProcessExpiresFrequency, setProcessExpiresFrequencyadd, addPropertyChangeListener, changeSessionId, findSessions, getActiveSessions, getContext, getDistributable, getExpiredSessions, getMaxActive, getMaxInactiveInterval, getRejectedSessions, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdLength, getSessionMaxAliveTime, remove, removePropertyChangeListener, setContainer, setContext, setDistributable, setExpiredSessions, setMaxActive, setMaxInactiveInterval, setSessionCounter, setSessionIdLength, setSessionMaxAliveTimeCopyright © 2009-2014. All Rights Reserved.