org.space4j.command
Class RemoveObjectCmd

java.lang.Object
  extended by org.space4j.Command
      extended by org.space4j.command.RemoveObjectCmd
All Implemented Interfaces:
java.io.Serializable

public class RemoveObjectCmd
extends Command

See Also:
Serialized Form

Constructor Summary
RemoveObjectCmd(java.lang.Object key)
           
 
Method Summary
 int execute(Space space)
          This method accesses the Space and its objects to do any modifications it wants.
 
Methods inherited from class org.space4j.Command
executeSQL, getLogNumber, getReplicaId, setLogNumber, setReplicaId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveObjectCmd

public RemoveObjectCmd(java.lang.Object key)
Method Detail

execute

public int execute(Space space)
            throws CommandException
Description copied from class: Command
This method accesses the Space and its objects to do any modifications it wants.

Specified by:
execute in class Command
Parameters:
space - The Space where the objects are stored.
Returns:
An int with the number of objects altered by this operation.
Throws:
CommandException - If there was an error executing this command.


Copyright © 2005 Space4J Team. All Rights Reserved.