Uses of Class
org.space4j.CommandException

Packages that use CommandException
org.space4j   
org.space4j.command   
org.space4j.implementation   
org.space4j.indexing   
 

Uses of CommandException in org.space4j
 

Methods in org.space4j that throw CommandException
 int Space4J.exec(Command cmd)
          Executes a command on the underlying Space.
abstract  int Command.execute(Space space)
          This method accesses the Space and its objects to do any modifications it wants.
 int Space4J.reapply(Command cmd)
          Re-apply a command on the underlying Space.
 void Logger.reapplyCommandsFromLog(Space4J space4j)
          Read the last commands from the log and re-apply them to this Space4J.
 

Uses of CommandException in org.space4j.command
 

Methods in org.space4j.command that throw CommandException
 int CreateCollectionCmd.execute(Space space)
           
 int CreateMapCmd.execute(Space space)
           
 int CreateObjectCmd.execute(Space space)
           
 int CreateSequenceCmd.execute(Space space)
           
 int DropObjectCmd.execute(Space space)
           
 int DropSequenceCmd.execute(Space space)
           
 int IncrementSeqCmd.execute(Space space)
           
 int PutCmd.execute(Space space)
           
 int RemoveCmd.execute(Space space)
           
 int RemoveObjectCmd.execute(Space space)
           
 

Uses of CommandException in org.space4j.implementation
 

Methods in org.space4j.implementation that throw CommandException
 int SimpleSpace4J.exec(Command cmd)
          Execute a command and log it.
 int SlaveSpace4J.exec(Command cmd)
           
 int MasterSpace4J.exec(Command cmd, boolean log)
           
protected  int SimpleSpace4J.exec(Command cmd, boolean log)
           
 int SimpleSpace4J.reapply(Command cmd)
           
 void SimpleSpace4J.reapplyCommandsFromLog()
           
 void SimpleLogger.reapplyCommandsFromLog(Space4J space4j)
           
 

Constructors in org.space4j.implementation that throw CommandException
MasterSpace4J(java.lang.String dirname)
          Initializes the MasterSpace4J.
MasterSpace4J(java.lang.String dirname, int master_port, int slave_port)
           
MasterSpace4J(java.lang.String dirname, long snapTime)
           
MasterSpace4J(java.lang.String dirname, long snapTime, int master_port, int slave_port)
          Initializes the MasterSpace4J.
SimpleSpace4J(java.lang.String dirname)
           
SimpleSpace4J(java.lang.String dirname, long snapTime)
          Initializes the SimpleSpace4J, initializes the Logger, recover the Space from disk if there is a snapshot saved and reapply the commands to the Space.
SlaveSpace4J(java.lang.String dirname, long snapTime, java.lang.String master_ip)
          Initializes the SlaveSpace4J.
SlaveSpace4J(java.lang.String dirname, long snapTime, java.lang.String master_ip, int master_port, int slave_port)
          Initializes the SlaveSpace4J.
SlaveSpace4J(java.lang.String dirname, java.lang.String master_ip)
           
SlaveSpace4J(java.lang.String dirname, java.lang.String master_ip, int master_port, int slave_port)
           
 

Uses of CommandException in org.space4j.indexing
 

Methods in org.space4j.indexing that throw CommandException
 boolean IndexManager.createIndex(Index<?> indx, Space4J space4j)
          Create an index in the system.
 boolean IndexManager.dropIndex(Index<?> indx, Space4J space4j)
          Drop an index from the system.
 



Copyright © 2005 Space4J Team. All Rights Reserved.