public class RedissonSessionManager
extends org.apache.catalina.session.ManagerBase
distributable, duplicates, expiredSessions, maxActive, maxActiveSessions, maxInactiveInterval, processExpiresFrequency, processingTime, rejectedSessions, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, SESSION_ID_LENGTH_UNSET, sessionCounter, sessionCreationTiming, sessionExpirationTiming, sessionIdGenerator, sessionIdGeneratorClass, 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 |
|---|
RedissonSessionManager() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.catalina.Session |
createEmptySession() |
org.apache.catalina.Session |
createSession(String sessionId) |
org.apache.catalina.Session |
findSession(String id) |
String |
getConfigPath() |
org.redisson.api.RMap<String,Object> |
getMap(String sessionId) |
String |
getName() |
org.redisson.api.RedissonClient |
getRedisson() |
void |
load() |
void |
remove(org.apache.catalina.Session session) |
void |
setConfigPath(String configPath) |
protected void |
startInternal() |
protected void |
stopInternal() |
void |
unload() |
add, addPropertyChangeListener, backgroundProcess, changeSessionId, changeSessionId, changeSessionId, expireSession, findSessions, generateSessionId, 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, getSessionAttributeNameFilter, getSessionAttributeNamePattern, getSessionAttributeValueClassNameFilter, getSessionAttributeValueClassNamePattern, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdGenerator, getSessionIdLength, getSessionMaxAliveTime, getThisAccessedTime, getThisAccessedTimestamp, getWarnOnSessionAttributeFilterFailure, initInternal, listSessionIds, processExpires, remove, removePropertyChangeListener, setContainer, setContext, setDistributable, setDuplicates, setExpiredSessions, setMaxActive, setMaxActiveSessions, setMaxInactiveInterval, setProcessExpiresFrequency, setProcessingTime, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProvider, setSessionAttributeNameFilter, setSessionAttributeValueClassNameFilter, setSessionCounter, setSessionIdGenerator, setSessionIdLength, setSessionMaxAliveTime, setWarnOnSessionAttributeFilterFailure, toString, updateSessionMaxAliveTime, willAttributeDistributedestroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisterpublic void setConfigPath(String configPath)
public String getConfigPath()
public String getName()
getName in class org.apache.catalina.session.ManagerBasepublic void load()
throws ClassNotFoundException,
IOException
ClassNotFoundExceptionIOExceptionpublic void unload()
throws IOException
IOExceptionpublic org.apache.catalina.Session createSession(String sessionId)
createSession in interface org.apache.catalina.ManagercreateSession in class org.apache.catalina.session.ManagerBasepublic org.apache.catalina.Session findSession(String id) throws IOException
findSession in interface org.apache.catalina.ManagerfindSession in class org.apache.catalina.session.ManagerBaseIOExceptionpublic org.apache.catalina.Session createEmptySession()
createEmptySession in interface org.apache.catalina.ManagercreateEmptySession in class org.apache.catalina.session.ManagerBasepublic void remove(org.apache.catalina.Session session)
remove in interface org.apache.catalina.Managerremove in class org.apache.catalina.session.ManagerBasepublic org.redisson.api.RedissonClient getRedisson()
protected void startInternal()
throws org.apache.catalina.LifecycleException
startInternal in class org.apache.catalina.session.ManagerBaseorg.apache.catalina.LifecycleExceptionprotected void stopInternal()
throws org.apache.catalina.LifecycleException
stopInternal in class org.apache.catalina.session.ManagerBaseorg.apache.catalina.LifecycleExceptionCopyright © 2014–2017 The Redisson Project. All rights reserved.