public class ProSessionManager extends QuercusSessionManager
| Modifier and Type | Field and Description | 
|---|---|
| protected static L10N | L | 
| protected static java.util.logging.Logger | log | 
_isClosed, _sessionCreateCount, _sessionIter, _sessionList, _sessionMax, _sessions, _sessionTimeoutCount, _statisticsLock| Constructor and Description | 
|---|
| ProSessionManager(QuercusContext quercus,
                 java.lang.String contextId) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | createSessionId(Env env)Creates a pseudo-random session id. | 
| long | getMaxIdleTime() | 
| boolean | isEmpty(java.lang.Object obj)Checks if the session is empty. | 
| void | load(java.io.InputStream in,
    java.lang.Object obj)Loads the session. | 
| void | notifyRemove(java.lang.Object id)Notification from the cluster. | 
| void | notifyUpdate(java.lang.Object id)Notification from the cluster. | 
| void | store(java.io.OutputStream out,
     java.lang.Object obj)Saves the session. | 
close, create, createSession, createSessionValue, getActiveSessionCount, getReuseSessionId, getSaveOnlyOnShutdown, getSession, getSessionCreateCount, getSessionMax, getSessionTimeoutCount, handleAlarm, isClosed, load, load, notifyRemove, notifyUpdate, remove, removeSession, saveSession, setAlwaysLoadSession, setAlwaysSaveSession, setCookieAppendServerIndex, setCookieLength, setReuseSessionId, setSaveOnlyOnShutdown, setSaveOnShutdown, setSessionMax, setSessionTimeoutprotected static final L10N L
protected static final java.util.logging.Logger log
public ProSessionManager(QuercusContext quercus, java.lang.String contextId)
public java.lang.String createSessionId(Env env)
createSessionId in class QuercusSessionManagerpublic long getMaxIdleTime()
public void load(java.io.InputStream in,
                 java.lang.Object obj)
          throws java.io.IOException
in - the input stream containing the serialized sessionobj - the session object to be deserializedjava.io.IOExceptionpublic boolean isEmpty(java.lang.Object obj)
isEmpty in class QuercusSessionManagerpublic void notifyRemove(java.lang.Object id)
public void notifyUpdate(java.lang.Object id)
public void store(java.io.OutputStream out,
                  java.lang.Object obj)
           throws java.io.IOException
store in class QuercusSessionManagerjava.io.IOException