mirrormap.commands
Class RemoveCommand

java.lang.Object
  extended by mirrormap.commands.AbstractCommand
      extended by mirrormap.commands.RemoveCommand
All Implemented Interfaces:
Serializable, ICommand

public final class RemoveCommand
extends AbstractCommand

Encapsulates a command to remove a key-value entry into a MirrorMap.

Author:
Ramon Servadei
See Also:
Serialized Form

Field Summary
 
Fields inherited from class mirrormap.commands.AbstractCommand
key, mirrorMapName
 
Constructor Summary
RemoveCommand()
           
RemoveCommand(String mirrorMapName, Serializable key)
           
 
Method Summary
 void execute()
          Execute the command
 
Methods inherited from class mirrormap.commands.AbstractCommand
getBytes, getMirrorMapName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoveCommand

public RemoveCommand()

RemoveCommand

public RemoveCommand(String mirrorMapName,
                     Serializable key)
Method Detail

execute

public void execute()
Description copied from interface: ICommand
Execute the command



Copyright © 2010. All Rights Reserved.