Class VoidStore
java.lang.Object
com.sk89q.worldedit.session.storage.VoidStore
- All Implemented Interfaces:
SessionStore
A session store that doesn't know how to store sessions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionLoad a session identified by the given UUID.void
save
(UUID id, LocalSession session) Save the given session identified by the given UUID.
-
Constructor Details
-
VoidStore
public VoidStore()
-
-
Method Details
-
load
Description copied from interface:SessionStore
Load a session identified by the given UUID.If the session does not exist (has never been saved), then a new
LocalSession
must be returned.- Specified by:
load
in interfaceSessionStore
- Parameters:
id
- the UUID- Returns:
- a session
- Throws:
IOException
- thrown on read error
-
save
Description copied from interface:SessionStore
Save the given session identified by the given UUID.- Specified by:
save
in interfaceSessionStore
- Parameters:
id
- the UUIDsession
- a session- Throws:
IOException
- thrown on read error
-