Class ReplicationFramePayloadCommand<K,V>
- java.lang.Object
-
- org.shoal.ha.cache.impl.command.Command
-
- 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
-
-
Constructor Summary
Constructors Constructor Description ReplicationFramePayloadCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComamnd(Command<K,V> cmd)protected booleanbeforeTransmit()voidexecute(java.lang.String initiator)protected booleanisArtificialKey()voidonFailure()voidsetTargetInstance(java.lang.String target)java.lang.StringtoString()-
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, getCommandManager, getDataStoreContext, getKey, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, onSuccess, prepareTransmit, setKey, setTargetName
-
-
-
-
Method Detail
-
setTargetInstance
public void setTargetInstance(java.lang.String target)
-
beforeTransmit
protected boolean beforeTransmit() throws DataStoreException- Specified by:
beforeTransmitin classCommand- Throws:
DataStoreException
-
execute
public void execute(java.lang.String initiator) throws DataStoreException- Specified by:
executein classCommand- Throws:
DataStoreException
-
isArtificialKey
protected boolean isArtificialKey()
- Overrides:
isArtificialKeyin classCommand
-
-