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