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

java.lang.Object
  extended by voldemort.store.routed.action.AbstractAction<K,V,PD>
      extended by voldemort.store.routed.action.AbstractConfigureNodes<ByteArray,V,PD>
          extended by voldemort.store.routed.action.ConfigureNodesDefault<V,PD>
All Implemented Interfaces:
Action
Direct Known Subclasses:
ConfigureNodesLocalHost

public class ConfigureNodesDefault<V,PD extends BasicPipelineData<V>>
extends AbstractConfigureNodes<ByteArray,V,PD>

Default Configure Nodes that does not reorder the list of nodes obtained via the routing strategy


Field Summary
 
Fields inherited from class voldemort.store.routed.action.AbstractConfigureNodes
failureDetector, required, routingStrategy
 
Fields inherited from class voldemort.store.routed.action.AbstractAction
completeEvent, logger, pipelineData
 
Constructor Summary
ConfigureNodesDefault(PD pipelineData, Pipeline.Event completeEvent, FailureDetector failureDetector, int required, RoutingStrategy routingStrategy, ByteArray key)
           
 
Method Summary
 void execute(Pipeline pipeline)
          Executes some portion of the overall logic in the routing pipeline.
 java.util.List<Node> getNodes(ByteArray key)
           
 
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
 

Constructor Detail

ConfigureNodesDefault

public ConfigureNodesDefault(PD pipelineData,
                             Pipeline.Event completeEvent,
                             FailureDetector failureDetector,
                             int required,
                             RoutingStrategy routingStrategy,
                             ByteArray key)
Method Detail

getNodes

public java.util.List<Node> getNodes(ByteArray key)
Overrides:
getNodes in class AbstractConfigureNodes<ByteArray,V,PD extends BasicPipelineData<V>>

execute

public 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


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