public class VoidStore extends java.lang.Object implements SessionStore
Constructor and Description |
---|
VoidStore() |
Modifier and Type | Method and Description |
---|---|
LocalSession |
load(java.util.UUID id)
Load a session identified by the given UUID.
|
void |
save(java.util.UUID id,
LocalSession session)
Save the given session identified by the given UUID.
|
public LocalSession load(java.util.UUID id) throws java.io.IOException
SessionStore
If the session does not exist (has never been saved), then
a new LocalSession
must be returned.
load
in interface SessionStore
id
- the UUIDjava.io.IOException
- thrown on read errorpublic void save(java.util.UUID id, LocalSession session) throws java.io.IOException
SessionStore
save
in interface SessionStore
id
- the UUIDsession
- a sessionjava.io.IOException
- thrown on read error