org.shoal.adapter.store.commands
Class RemoveCommand<K,V>

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command<K,V>
      extended by org.shoal.adapter.store.commands.AcknowledgedCommand<K,V>
          extended by org.shoal.adapter.store.commands.RemoveCommand<K,V>
All Implemented Interfaces:
java.io.Serializable

public class RemoveCommand<K,V>
extends AcknowledgedCommand<K,V>

Author:
Mahesh Kannan
See Also:
Serialized Form

Field Summary
protected static java.util.logging.Logger _logger
           
 
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc, targetInstanceName
 
Constructor Summary
RemoveCommand(K k)
           
 
Method Summary
 boolean beforeTransmit()
           
 void execute(java.lang.String initiator)
           
 void setTarget(java.lang.String t)
           
 
Methods inherited from class org.shoal.adapter.store.commands.AcknowledgedCommand
onFailure, onSuccess, sendAcknowledgement
 
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, getCommandManager, getDataStoreContext, getKey, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, isArtificialKey, prepareTransmit, setKey, setTargetName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_logger

protected static final java.util.logging.Logger _logger
Constructor Detail

RemoveCommand

public RemoveCommand(K k)
Method Detail

setTarget

public void setTarget(java.lang.String t)

beforeTransmit

public boolean beforeTransmit()
Overrides:
beforeTransmit in class AcknowledgedCommand<K,V>

execute

public void execute(java.lang.String initiator)
Specified by:
execute in class Command<K,V>


Copyright © 2012. All Rights Reserved.