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

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command<K,V>
      extended by org.shoal.adapter.store.commands.StaleCopyRemoveCommand<K,V>

public class StaleCopyRemoveCommand<K,V>
extends Command<K,V>

Author:
Mahesh Kannan

Field Summary
protected static java.util.logging.Logger _logger
           
 
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc
 
Constructor Summary
StaleCopyRemoveCommand()
           
 
Method Summary
protected  StaleCopyRemoveCommand<K,V> createNewInstance()
           
 void execute(java.lang.String initiator)
           
 K getKey()
           
 java.lang.String getStaleTargetName()
           
 void readCommandPayload(ReplicationInputStream ris)
           
 void setKey(K key)
           
 void setStaleTargetName(java.lang.String targetName)
           
 void writeCommandPayload(ReplicationOutputStream ros)
           
 
Methods inherited from class org.shoal.ha.cache.impl.command.Command
getCommandManager, getDataStoreContext, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, prepareToExecute, prepareTransmit, selectReplicaInstance, setTargetName, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

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

StaleCopyRemoveCommand

public StaleCopyRemoveCommand()
Method Detail

getKey

public K getKey()

setKey

public void setKey(K key)

getStaleTargetName

public java.lang.String getStaleTargetName()

setStaleTargetName

public void setStaleTargetName(java.lang.String targetName)

createNewInstance

protected StaleCopyRemoveCommand<K,V> createNewInstance()
Specified by:
createNewInstance in class Command<K,V>

writeCommandPayload

public void writeCommandPayload(ReplicationOutputStream ros)
                         throws java.io.IOException
Specified by:
writeCommandPayload in class Command<K,V>
Throws:
java.io.IOException

readCommandPayload

public void readCommandPayload(ReplicationInputStream ris)
                        throws java.io.IOException
Specified by:
readCommandPayload in class Command<K,V>
Throws:
java.io.IOException

execute

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


Copyright © 2010. All Rights Reserved.