Package org.shoal.adapter.store.commands
Class AcknowledgedCommand<K,V>
- java.lang.Object
-
- org.shoal.ha.cache.impl.command.Command<K,V>
-
- org.shoal.adapter.store.commands.AcknowledgedCommand<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbstractSaveCommand,RemoveCommand
public abstract class AcknowledgedCommand<K,V> extends Command<K,V>
- Author:
- Mahesh Kannan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc, targetInstanceName
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAcknowledgedCommand(byte opCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanbeforeTransmit()voidonFailure()voidonSuccess()protected voidsendAcknowledgement()-
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, execute, getCommandManager, getDataStoreContext, getKey, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, isArtificialKey, prepareTransmit, setKey, setTargetName, toString
-
-
-
-
Method Detail
-
beforeTransmit
protected boolean beforeTransmit()
- Specified by:
beforeTransmitin classCommand<K,V>
-
sendAcknowledgement
protected void sendAcknowledgement()
-
-