org.shoal.ha.cache.impl.interceptor
Class ReplicationFramePayloadCommand<K,V>

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command
      extended by org.shoal.ha.cache.impl.interceptor.ReplicationFramePayloadCommand<K,V>
All Implemented Interfaces:
java.io.Serializable

public class ReplicationFramePayloadCommand<K,V>
extends Command

Author:
Mahesh Kannan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc
 
Constructor Summary
ReplicationFramePayloadCommand()
           
 
Method Summary
 void addComamnd(Command<K,V> cmd)
           
protected  boolean beforeTransmit()
           
 void execute(java.lang.String initiator)
           
protected  boolean isArtificialKey()
           
 void onFailure()
           
 void setTargetInstance(java.lang.String target)
           
 java.lang.String toString()
           
 
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, getCommandManager, getDataStoreContext, getKey, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, onSuccess, prepareTransmit, setKey, setTargetName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplicationFramePayloadCommand

public ReplicationFramePayloadCommand()
Method Detail

addComamnd

public void addComamnd(Command<K,V> cmd)

setTargetInstance

public void setTargetInstance(java.lang.String target)

beforeTransmit

protected boolean beforeTransmit()
                          throws DataStoreException
Specified by:
beforeTransmit in class Command
Throws:
DataStoreException

execute

public void execute(java.lang.String initiator)
             throws DataStoreException
Specified by:
execute in class Command
Throws:
DataStoreException

onFailure

public void onFailure()
Overrides:
onFailure in class Command

isArtificialKey

protected boolean isArtificialKey()
Overrides:
isArtificialKey in class Command

toString

public java.lang.String toString()
Overrides:
toString in class Command


Copyright © 2012. All Rights Reserved.