Package org.shoal.adapter.store.commands
Class LoadRequestCommand<K,V>
- java.lang.Object
-
- org.shoal.ha.cache.impl.command.Command<K,V>
-
- org.shoal.adapter.store.commands.LoadRequestCommand<K,V>
-
- All Implemented Interfaces:
Serializable
public class LoadRequestCommand<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 Constructor Description LoadRequestCommand()LoadRequestCommand(K key, long minVersion, String t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanbeforeTransmit()voidexecute(String initiator)StringgetRespondingInstanceName()VgetResult(long waitFor, TimeUnit unit)StringtoString()-
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, getCommandManager, getDataStoreContext, getKey, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, isArtificialKey, onFailure, onSuccess, prepareTransmit, setKey, setTargetName
-
-
-
-
Method Detail
-
beforeTransmit
protected boolean beforeTransmit()
- Specified by:
beforeTransmitin classCommand<K,V>
-
getRespondingInstanceName
public String getRespondingInstanceName()
-
getResult
public V getResult(long waitFor, TimeUnit unit) throws DataStoreException
- Throws:
DataStoreException
-
-