com.trendmicro.grid.acl
Class SessionHandlerFactory.LTHashSessionManager

java.lang.Object
  extended by org.eclipse.jetty.util.component.AbstractLifeCycle
      extended by org.eclipse.jetty.server.session.AbstractSessionManager
          extended by org.eclipse.jetty.server.session.HashSessionManager
              extended by com.trendmicro.grid.acl.SessionHandlerFactory.LTHashSessionManager
All Implemented Interfaces:
Serializable, org.eclipse.jetty.server.SessionManager, org.eclipse.jetty.util.component.LifeCycle
Enclosing class:
SessionHandlerFactory

public static class SessionHandlerFactory.LTHashSessionManager
extends org.eclipse.jetty.server.session.HashSessionManager
implements Serializable

Implements a session handler that does not expire sessions when a transfer is pending.

See Also:
Serialized Form

Nested Class Summary
protected  class SessionHandlerFactory.LTHashSessionManager.LTSession
           
 
Nested classes/interfaces inherited from class org.eclipse.jetty.server.session.HashSessionManager
org.eclipse.jetty.server.session.HashSessionManager.ClassLoadingObjectInputStream, org.eclipse.jetty.server.session.HashSessionManager.Session
 
Nested classes/interfaces inherited from class org.eclipse.jetty.server.session.AbstractSessionManager
org.eclipse.jetty.server.session.AbstractSessionManager.NullSessionContext, org.eclipse.jetty.server.session.AbstractSessionManager.SessionIf
 
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener
 
Field Summary
protected  boolean doNotExpireSessionsWhenTransferIsPending
           
 
Fields inherited from class org.eclipse.jetty.server.session.HashSessionManager
_sessions
 
Fields inherited from class org.eclipse.jetty.server.session.AbstractSessionManager
__distantFuture, _checkingRemoteSessionIdEncoding, _context, _dftMaxIdleSecs, _httpOnly, _loader, _maxCookieAge, _nodeIdInSessionId, _refreshCookieAge, _secureCookies, _sessionAttributeListeners, _sessionCookie, _sessionDomain, _sessionHandler, _sessionIdManager, _sessionIdPathParameterName, _sessionIdPathParameterNamePrefix, _sessionListeners, _sessionPath, _sessionsStats, _sessionTimeStats
 
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
Fields inherited from interface org.eclipse.jetty.server.SessionManager
__CheckRemoteSessionEncoding, __DefaultSessionCookie, __DefaultSessionDomain, __DefaultSessionIdPathParameterName, __MaxAgeProperty, __SessionCookieProperty, __SessionDomainProperty, __SessionIdPathParameterNameProperty, __SessionPathProperty
 
Constructor Summary
SessionHandlerFactory.LTHashSessionManager()
           
 
Method Summary
 boolean isDoNotExpireSessionsWhenTransferIsPending()
           
protected  org.eclipse.jetty.server.session.AbstractSessionManager.Session newSession(javax.servlet.http.HttpServletRequest request)
           
protected  org.eclipse.jetty.server.session.AbstractSessionManager.Session newSession(long created, String clusterId)
           
 void setDoNotExpireSessionsWhenTransferIsPending(boolean doNotExpireSessionsWhenTransferIsPending)
           
 
Methods inherited from class org.eclipse.jetty.server.session.HashSessionManager
addSession, doStart, doStop, getSavePeriod, getScavengePeriod, getSession, getSessionMap, getSessions, getStoreDirectory, invalidateSessions, isLazyLoad, removeSession, restoreSession, restoreSessions, saveSessions, setLazyLoad, setMaxInactiveInterval, setSavePeriod, setScavengePeriod, setStoreDirectory
 
Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionManager
access, addEventListener, addSession, clearEventListeners, complete, getClusterId, getHttpOnly, getHttpSession, getIdManager, getMaxCookieAge, getMaxInactiveInterval, getMaxSessions, getMetaManager, getMinSessions, getNodeId, getRefreshCookieAge, getSecureCookies, getSessionCookie, getSessionCookie, getSessionDomain, getSessionHandler, getSessionIdPathParameterName, getSessionIdPathParameterNamePrefix, getSessionPath, getSessionsMax, getSessionsTotal, getSessionTimeMax, getSessionTimeMean, getSessionTimeStdDev, getSessionTimeTotal, isCheckingRemoteSessionIdEncoding, isNodeIdInSessionId, isUsingCookies, isValid, newHttpSession, removeEventListener, removeSession, removeSession, resetStats, setCheckingRemoteSessionIdEncoding, setHttpOnly, setIdManager, setMaxCookieAge, setMetaManager, setNodeIdInSessionId, setRefreshCookieAge, setSecureCookies, setSessionCookie, setSessionDomain, setSessionHandler, setSessionIdPathParameterName, setSessionPath, setUsingCookies, statsReset
 
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

Field Detail

doNotExpireSessionsWhenTransferIsPending

protected boolean doNotExpireSessionsWhenTransferIsPending
Constructor Detail

SessionHandlerFactory.LTHashSessionManager

public SessionHandlerFactory.LTHashSessionManager()
Method Detail

isDoNotExpireSessionsWhenTransferIsPending

public boolean isDoNotExpireSessionsWhenTransferIsPending()

setDoNotExpireSessionsWhenTransferIsPending

public void setDoNotExpireSessionsWhenTransferIsPending(boolean doNotExpireSessionsWhenTransferIsPending)

newSession

protected org.eclipse.jetty.server.session.AbstractSessionManager.Session newSession(javax.servlet.http.HttpServletRequest request)
Overrides:
newSession in class org.eclipse.jetty.server.session.HashSessionManager

newSession

protected org.eclipse.jetty.server.session.AbstractSessionManager.Session newSession(long created,
                                                                                     String clusterId)
Overrides:
newSession in class org.eclipse.jetty.server.session.HashSessionManager