org.shoal.adapter.store.commands
Class LoadRequestCommand<K,V>

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command<K,V>
      extended by org.shoal.adapter.store.commands.LoadRequestCommand<K,V>
All Implemented Interfaces:
java.io.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
LoadRequestCommand()
           
LoadRequestCommand(K key, long minVersion, java.lang.String t)
           
 
Method Summary
protected  boolean beforeTransmit()
           
 void execute(java.lang.String initiator)
           
 java.lang.String getRespondingInstanceName()
           
 V getResult(long waitFor, java.util.concurrent.TimeUnit unit)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadRequestCommand

public LoadRequestCommand()

LoadRequestCommand

public LoadRequestCommand(K key,
                          long minVersion,
                          java.lang.String t)
Method Detail

beforeTransmit

protected boolean beforeTransmit()
Specified by:
beforeTransmit in class Command<K,V>

execute

public void execute(java.lang.String initiator)
Specified by:
execute in class Command<K,V>

getRespondingInstanceName

public java.lang.String getRespondingInstanceName()

getResult

public V getResult(long waitFor,
                   java.util.concurrent.TimeUnit unit)
            throws DataStoreException
Throws:
DataStoreException

toString

public java.lang.String toString()
Overrides:
toString in class Command<K,V>


Copyright © 2012. All Rights Reserved.