|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Space4J
Our Java database of objects. Clients will use the Space4J object to execute commands in the underlying space. Space4J will be running in the same JVM the client is running, in other words, the client will be able to access the Space4J directly in memomy.
| Method Summary | |
|---|---|
int |
exec(Command cmd)
Executes a command on the underlying Space. |
void |
executeSnapshot()
Take a snapshot of the Space to disk. |
Space |
getSpace()
Returns the Space where the Objects are stored, so the client can direct access them. |
int |
reapply(Command cmd)
Re-apply a command on the underlying Space. |
void |
start()
Starts the Space4J. |
| Method Detail |
|---|
int reapply(Command cmd)
throws CommandException,
LoggerException
cmd - The command to execute.
CommandException - if there is a problem executing this command
LoggerException - if there is a problem logging thie command
int exec(Command cmd)
throws CommandException,
LoggerException
cmd - The command to execute.
CommandException - if there is a problem executing this command
LoggerException - if there is a problem logging thie command
void executeSnapshot()
throws LoggerException
LoggerExceptionSpace getSpace()
void start()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.ClassNotFoundException
java.net.UnknownHostException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||