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:
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(String initiator)protected booleanisArtificialKey()voidonFailure()voidsetTargetInstance(String target)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(String target)
-
beforeTransmit
protected boolean beforeTransmit() throws DataStoreException- Specified by:
beforeTransmitin classCommand- Throws:
DataStoreException
-
execute
public void execute(String initiator) throws DataStoreException
- Specified by:
executein classCommand- Throws:
DataStoreException
-
isArtificialKey
protected boolean isArtificialKey()
- Overrides:
isArtificialKeyin classCommand
-
-