public class RedissonSessionManager
extends org.apache.catalina.session.ManagerBase
implements org.apache.catalina.Lifecycle
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.catalina.util.LifecycleSupport |
lifecycle |
algorithm, container, DEFAULT_ALGORITHM, devRandomSource, digest, distributable, domain, duplicates, entropy, expiredSessions, initialized, maxActive, maxInactiveInterval, mserver, name, oname, processExpiresFrequency, processingTime, random, randomClass, randomIS, sessionAverageAliveTime, sessionCounter, sessionCreationTiming, sessionExpirationTiming, sessionIdLength, sessionMaxAliveTime, sessions, sm, support, TIMING_STATS_CACHE_SIZE| Constructor and Description |
|---|
RedissonSessionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLifecycleListener(org.apache.catalina.LifecycleListener listener) |
org.apache.catalina.Session |
createEmptySession() |
org.apache.catalina.Session |
createSession(String sessionId) |
org.apache.catalina.LifecycleListener[] |
findLifecycleListeners() |
org.apache.catalina.Session |
findSession(String id) |
String |
getConfigPath() |
org.redisson.api.RMap<String,Object> |
getMap(String sessionId) |
org.redisson.api.RedissonClient |
getRedisson() |
int |
getRejectedSessions() |
void |
load() |
void |
remove(org.apache.catalina.Session session) |
void |
removeLifecycleListener(org.apache.catalina.LifecycleListener listener) |
void |
setConfigPath(String configPath) |
void |
setRejectedSessions(int sessions) |
void |
start() |
void |
stop() |
void |
unload() |
add, addPropertyChangeListener, backgroundProcess, changeSessionId, createSession, destroy, expireSession, findSessions, generateSessionId, getActiveSessions, getAlgorithm, getClassName, getContainer, getCreationTime, getCreationTimestamp, getDigest, getDistributable, getDomain, getDuplicates, getEngine, getEntropy, getExpiredSessions, getInfo, getJvmRoute, getLastAccessedTime, getLastAccessedTimestamp, getMaxActive, getMaxInactiveInterval, getName, getNewSession, getObjectName, getProcessExpiresFrequency, getProcessingTime, getRandom, getRandomBytes, getRandomClass, getRandomFile, getSession, getSessionAttribute, getSessionAttributeNameFilter, getSessionAttributeNamePattern, getSessionAttributeValueClassNameFilter, getSessionAttributeValueClassNamePattern, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdLength, getSessionMaxAliveTime, getWarnOnSessionAttributeFilterFailure, init, listSessionIds, postDeregister, postRegister, preDeregister, preRegister, processExpires, removePropertyChangeListener, setAlgorithm, setContainer, setDistributable, setDuplicates, setEntropy, setExpiredSessions, setMaxActive, setMaxInactiveInterval, setProcessExpiresFrequency, setProcessingTime, setRandomClass, setRandomFile, setSessionAttributeNameFilter, setSessionAttributeValueClassNameFilter, setSessionAverageAliveTime, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime, setWarnOnSessionAttributeFilterFailure, willAttributeDistributepublic void setConfigPath(String configPath)
public String getConfigPath()
public int getRejectedSessions()
getRejectedSessions in interface org.apache.catalina.Managerpublic void load()
throws ClassNotFoundException,
IOException
load in interface org.apache.catalina.ManagerClassNotFoundExceptionIOExceptionpublic void setRejectedSessions(int sessions)
setRejectedSessions in interface org.apache.catalina.Managerpublic void unload()
throws IOException
unload in interface org.apache.catalina.ManagerIOExceptionpublic void addLifecycleListener(org.apache.catalina.LifecycleListener listener)
addLifecycleListener in interface org.apache.catalina.Lifecyclepublic org.apache.catalina.LifecycleListener[] findLifecycleListeners()
findLifecycleListeners in interface org.apache.catalina.Lifecyclepublic void removeLifecycleListener(org.apache.catalina.LifecycleListener listener)
removeLifecycleListener in interface org.apache.catalina.Lifecyclepublic 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()
public void start()
throws org.apache.catalina.LifecycleException
start in interface org.apache.catalina.Lifecycleorg.apache.catalina.LifecycleExceptionpublic void stop()
throws org.apache.catalina.LifecycleException
stop in interface org.apache.catalina.Lifecycleorg.apache.catalina.LifecycleExceptionCopyright © 2014–2016 The Redisson Project. All rights reserved.