org.apache.tomcat.modules.session
Class SimpleSessionStore.SimpleSessionManager
java.lang.Object
org.apache.tomcat.modules.session.SimpleSessionStore.SimpleSessionManager
- Enclosing class:
- SimpleSessionStore
- public static class SimpleSessionStore.SimpleSessionManager
- extends java.lang.Object
The actual "simple" manager
Field Summary |
protected SimplePool |
recycled
The set of previously recycled Sessions for this Manager. |
protected java.util.Hashtable |
sessions
The set of currently active Sessions for this Manager, keyed by
session identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
recycled
protected SimplePool recycled
- The set of previously recycled Sessions for this Manager.
sessions
protected java.util.Hashtable sessions
- The set of currently active Sessions for this Manager, keyed by
session identifier.
SimpleSessionStore.SimpleSessionManager
public SimpleSessionStore.SimpleSessionManager()
setDebug
public void setDebug(int l)
setModule
public void setModule(BaseInterceptor bi)
getSessionIds
public java.util.Enumeration getSessionIds()
getSessions
public java.util.Enumeration getSessions()
getSessionCount
public int getSessionCount()
getRecycledCount
public int getRecycledCount()
findSession
public ServerSession findSession(java.lang.String id)
removeSession
public void removeSession(ServerSession session)
- Remove this Session from the active Sessions for this Manager.
- Parameters:
session
- Session to be removed
getNewSession
public ServerSession getNewSession(Request req,
Context ctx)
Copyright © 2001 Apache Software Foundation. All Rights Reserved.