public class StandardStore
extends java.lang.Object
| Constructor and Description |
|---|
StandardStore(java.io.File directory) |
| Modifier and Type | Method and Description |
|---|---|
StandardSession |
getSession(java.lang.String id)
Get the session from the persistent store.
|
boolean |
remove(StandardSession session)
Remove the session from the persistent store.
|
boolean |
replace(StandardSession session)
Increase the session to the persistent store.
|
public boolean replace(StandardSession session) throws java.io.IOException
session - the session.java.io.IOException - if an output error occurs while processing this request.public StandardSession getSession(java.lang.String id) throws java.io.IOException, java.lang.ClassNotFoundException
id - the session ID.java.io.IOException - if the input error occurs while processing this request.java.lang.ClassNotFoundExceptionpublic boolean remove(StandardSession session)
session - the session.