public class VoidStore extends Object implements SessionStore
| Constructor and Description |
|---|
VoidStore() |
| Modifier and Type | Method and Description |
|---|---|
LocalSession |
load(UUID id)
Load a session identified by the given UUID.
|
void |
save(UUID id,
LocalSession session)
Save the given session identified by the given UUID.
|
public LocalSession load(UUID id) throws IOException
SessionStoreIf the session does not exist (has never been saved), then
a new LocalSession must be returned.
load in interface SessionStoreid - the UUIDIOException - thrown on read errorpublic void save(UUID id, LocalSession session) throws IOException
SessionStoresave in interface SessionStoreid - the UUIDsession - a sessionIOException - thrown on read errorCopyright © 2010-2014. All Rights Reserved.