|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.lib.session.QuercusSessionManager
com.caucho.quercus.lib.session.ProSessionManager
public class ProSessionManager
Stripped down version of com.caucho.server.session.SessionManager, customized to PHP instead of J2EE sessions.
| Field Summary | |
|---|---|
protected static L10N |
L
|
protected static java.util.logging.Logger |
log
|
| Fields inherited from class com.caucho.quercus.lib.session.QuercusSessionManager |
|---|
_isClosed, _sessionCreateCount, _sessionIter, _sessionList, _sessionMax, _sessions, _sessionTimeoutCount, _statisticsLock |
| Constructor Summary | |
|---|---|
ProSessionManager(QuercusContext quercus,
java.lang.String contextId)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.quercus.lib.session.QuercusSessionManager |
|---|
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, setSessionTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final L10N L
protected static final java.util.logging.Logger log
| Constructor Detail |
|---|
public ProSessionManager(QuercusContext quercus,
java.lang.String contextId)
| Method Detail |
|---|
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 deserialized
java.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||