|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.session.SessionObjectManager
public final class SessionObjectManager
Persistence object manager for sessions
| Constructor Summary | |
|---|---|
SessionObjectManager(SessionManager sessionManager)
Creates and initializes a new session object manager |
|
| Method Summary | |
|---|---|
ClusterObject |
createClusterObject(java.lang.String id)
Creates the cluster object |
long |
getMaxIdleTime()
Returns the maximum idle time. |
boolean |
isEmpty(java.lang.Object obj)
Checks if the session is empty. |
void |
load(java.io.InputStream is,
java.lang.Object obj)
Loads the session. |
void |
notifyRemove(java.lang.Object objectId)
Notifies an object has been removed. |
void |
notifyUpdate(java.lang.Object objectId)
Notification from the cluster. |
void |
setStore(Store store)
Sets the store |
void |
store(java.io.OutputStream os,
java.lang.Object obj)
Saves the session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionObjectManager(SessionManager sessionManager)
| Method Detail |
|---|
public void setStore(Store store)
public long getMaxIdleTime()
getMaxIdleTime in interface ObjectManagerpublic ClusterObject createClusterObject(java.lang.String id)
createClusterObject in interface ObjectManager
public void load(java.io.InputStream is,
java.lang.Object obj)
throws java.io.IOException
load in interface ObjectManagerin - the input stream containing the serialized sessionobj - the session object to be deserialized
java.io.IOExceptionpublic boolean isEmpty(java.lang.Object obj)
isEmpty in interface ObjectManager
public void store(java.io.OutputStream os,
java.lang.Object obj)
throws java.io.IOException
store in interface ObjectManagerjava.io.IOExceptionpublic void notifyUpdate(java.lang.Object objectId)
notifyUpdate in interface ObjectManagerpublic void notifyRemove(java.lang.Object objectId)
notifyRemove in interface ObjectManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||