public final class RedisSessionManager extends SessionManagerSkeleton<com.ovea.jetty.session.redis.RedisSessionManager.RedisSession>
SessionManagerSkeleton.SessionSkeletonorg.eclipse.jetty.server.session.AbstractSessionManager.SessionIf__defaultSessionTrackingModes, __distantFuture, _checkingRemoteSessionIdEncoding, _context, _dftMaxIdleSecs, _httpOnly, _loader, _maxCookieAge, _nodeIdInSessionId, _refreshCookieAge, _secureCookies, _secureRequestOnly, _sessionAttributeListeners, _sessionComment, _sessionCookie, _sessionDomain, _sessionHandler, _sessionIdManager, _sessionIdPathParameterName, _sessionIdPathParameterNamePrefix, _sessionListeners, _sessionPath, _sessionsStats, _sessionTimeStats, _sessionTrackingModes_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING__CheckRemoteSessionEncoding, __DefaultSessionCookie, __DefaultSessionDomain, __DefaultSessionIdPathParameterName, __MaxAgeProperty, __SessionCookieProperty, __SessionDomainProperty, __SessionIdPathParameterNameProperty, __SessionPathProperty| Constructor and Description |
|---|
RedisSessionManager(redis.clients.jedis.JedisPool jedisPool) |
RedisSessionManager(redis.clients.jedis.JedisPool jedisPool,
Serializer serializer) |
RedisSessionManager(String jndiName) |
RedisSessionManager(String jndiName,
Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteSession(com.ovea.jetty.session.redis.RedisSessionManager.RedisSession session) |
void |
doStart() |
void |
doStop() |
protected com.ovea.jetty.session.redis.RedisSessionManager.RedisSession |
loadSession(String clusterId,
com.ovea.jetty.session.redis.RedisSessionManager.RedisSession current) |
protected com.ovea.jetty.session.redis.RedisSessionManager.RedisSession |
newSession(HttpServletRequest request) |
void |
setSaveInterval(long sec) |
protected void |
storeSession(com.ovea.jetty.session.redis.RedisSessionManager.RedisSession session) |
addSession, expire, getCanonicalizedContext, getSession, getSessionMap, getVirtualHost, invalidateSession, invalidateSessions, removeSession, removeSession, setDomain, setMaxCookieAge, setSessionDomain, setSessionPathaccess, addEventListener, addSession, clearEventListeners, complete, doSessionAttributeListeners, getClusterId, getContext, getContextHandler, getDefaultSessionTrackingModes, getEffectiveSessionTrackingModes, getHttpOnly, getHttpSession, getIdManager, getMaxInactiveInterval, getMaxSessions, getMetaManager, getMinSessions, getNodeId, getRefreshCookieAge, getSecureCookies, getSessionCookie, getSessionCookie, getSessionCookieConfig, getSessionDomain, getSessionHandler, getSessionIdManager, getSessionIdPathParameterName, getSessionIdPathParameterNamePrefix, getSessions, getSessionsMax, getSessionsTotal, getSessionTimeMax, getSessionTimeMean, getSessionTimeStdDev, getSessionTimeTotal, isCheckingRemoteSessionIdEncoding, isNodeIdInSessionId, isSecureRequestOnly, isUsingCookies, isUsingURLs, isValid, newHttpSession, removeEventListener, removeSession, resetStats, setCheckingRemoteSessionIdEncoding, setHttpOnly, setIdManager, setMaxInactiveInterval, setNodeIdInSessionId, setRefreshCookieAge, setSecureRequestOnly, setSessionCookie, setSessionHandler, setSessionIdManager, setSessionIdPathParameterName, setSessionTrackingModes, setUsingCookies, statsResetaddLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringpublic RedisSessionManager(redis.clients.jedis.JedisPool jedisPool)
public RedisSessionManager(String jndiName)
public RedisSessionManager(redis.clients.jedis.JedisPool jedisPool,
Serializer serializer)
public RedisSessionManager(String jndiName, Serializer serializer)
public void setSaveInterval(long sec)
public void doStart()
throws Exception
doStart in class SessionManagerSkeleton<com.ovea.jetty.session.redis.RedisSessionManager.RedisSession>Exceptionpublic void doStop()
throws Exception
doStop in class SessionManagerSkeleton<com.ovea.jetty.session.redis.RedisSessionManager.RedisSession>Exceptionprotected com.ovea.jetty.session.redis.RedisSessionManager.RedisSession loadSession(String clusterId, com.ovea.jetty.session.redis.RedisSessionManager.RedisSession current)
loadSession in class SessionManagerSkeleton<com.ovea.jetty.session.redis.RedisSessionManager.RedisSession>protected void storeSession(com.ovea.jetty.session.redis.RedisSessionManager.RedisSession session)
storeSession in class SessionManagerSkeleton<com.ovea.jetty.session.redis.RedisSessionManager.RedisSession>protected com.ovea.jetty.session.redis.RedisSessionManager.RedisSession newSession(HttpServletRequest request)
newSession in class org.eclipse.jetty.server.session.AbstractSessionManagerprotected void deleteSession(com.ovea.jetty.session.redis.RedisSessionManager.RedisSession session)
deleteSession in class SessionManagerSkeleton<com.ovea.jetty.session.redis.RedisSessionManager.RedisSession>Copyright © 2011-2012 Ovea. All Rights Reserved.