Package org.shoal.adapter.store.commands
Class NoOpCommand<K,V>
- java.lang.Object
-
- org.shoal.ha.cache.impl.command.Command
-
- org.shoal.adapter.store.commands.NoOpCommand<K,V>
-
- All Implemented Interfaces:
Serializable
public class NoOpCommand<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, targetInstanceName
-
-
Constructor Summary
Constructors Constructor Description NoOpCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbeforeTransmit()voidexecute(String initiator)ObjectgetCommandKey()StringgetKeyMappingInfo()protected booleanisArtificialKey()StringtoString()-
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, getCommandManager, getDataStoreContext, getKey, getName, getOpcode, getTargetName, initialize, onFailure, onSuccess, prepareTransmit, setKey, setTargetName
-
-
-
-
Method Detail
-
beforeTransmit
public boolean beforeTransmit()
- Specified by:
beforeTransmitin classCommand
-
getCommandKey
public Object getCommandKey()
-
execute
public void execute(String initiator) throws DataStoreException
- Specified by:
executein classCommand- Throws:
DataStoreException
-
getKeyMappingInfo
public String getKeyMappingInfo()
- Overrides:
getKeyMappingInfoin classCommand
-
isArtificialKey
protected boolean isArtificialKey()
- Overrides:
isArtificialKeyin classCommand
-
-