voldemort.store.routed.action
Class AbstractHintedHandoffAction<V,PD extends BasicPipelineData<V>>

java.lang.Object
  extended by voldemort.store.routed.action.AbstractAction<K,V,PD>
      extended by voldemort.store.routed.action.AbstractKeyBasedAction<ByteArray,V,PD>
          extended by voldemort.store.routed.action.AbstractHintedHandoffAction<V,PD>
All Implemented Interfaces:
Action
Direct Known Subclasses:
PerformDeleteHintedHandoff, PerformPutHintedHandoff

public abstract class AbstractHintedHandoffAction<V,PD extends BasicPipelineData<V>>
extends AbstractKeyBasedAction<ByteArray,V,PD>


Field Summary
protected  HintedHandoff hintedHandoff
           
protected  java.util.Map<Node,Slop> slopsToBeSent
           
 
Fields inherited from class voldemort.store.routed.action.AbstractKeyBasedAction
key
 
Fields inherited from class voldemort.store.routed.action.AbstractAction
completeEvent, logger, pipelineData
 
Constructor Summary
AbstractHintedHandoffAction(PD pipelineData, Pipeline.Event completeEvent, ByteArray key, HintedHandoff hintedHandoff)
           
 
Method Summary
abstract  void execute(Pipeline pipeline)
          Executes some portion of the overall logic in the routing pipeline.
protected  void rememberSlopForLaterEvent(Node node, Slop slop)
           
 
Methods inherited from class voldemort.store.routed.action.AbstractAction
handleResponseError, handleResponseError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

slopsToBeSent

protected final java.util.Map<Node,Slop> slopsToBeSent

hintedHandoff

protected final HintedHandoff hintedHandoff
Constructor Detail

AbstractHintedHandoffAction

public AbstractHintedHandoffAction(PD pipelineData,
                                   Pipeline.Event completeEvent,
                                   ByteArray key,
                                   HintedHandoff hintedHandoff)
Method Detail

execute

public abstract void execute(Pipeline pipeline)
Description copied from interface: Action
Executes some portion of the overall logic in the routing pipeline.

Parameters:
pipeline - Pipeline instance of which this action is a part, used for adding events to the event queue or getting the Pipeline.Operation that resulted in the action being called

rememberSlopForLaterEvent

protected void rememberSlopForLaterEvent(Node node,
                                         Slop slop)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu