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:
java.io.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(java.lang.String originatingInstance, long tokenId, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanbeforeTransmit()voidexecute(java.lang.String initiator)java.lang.ObjectgetCommandKey()protected booleanisArtificialKey()java.lang.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
-
-
-
-
Method Detail
-
beforeTransmit
protected boolean beforeTransmit()
- Specified by:
beforeTransmitin classCommand
-
getCommandKey
public java.lang.Object getCommandKey()
-
isArtificialKey
protected boolean isArtificialKey()
- Overrides:
isArtificialKeyin classCommand
-
-