voldemort.store.routed.action
Class ConfigureNodesLocalHost<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>
              extended by voldemort.store.routed.action.ConfigureNodesLocalHost<V,PD>
All Implemented Interfaces:
Action

public class ConfigureNodesLocalHost<V,PD extends BasicPipelineData<V>>
extends ConfigureNodesDefault<V,PD>

Use the default node list returned via the routing strategy. However give preference to the current node, if it is part of the preflist returned from 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, pipelineData
 
Constructor Summary
ConfigureNodesLocalHost(PD pipelineData, Pipeline.Event completeEvent, FailureDetector failureDetector, int required, RoutingStrategy routingStrategy, ByteArray key)
           
 
Method Summary
 java.util.List<Node> getNodes(ByteArray key)
           
 
Methods inherited from class voldemort.store.routed.action.ConfigureNodesDefault
execute
 
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

ConfigureNodesLocalHost

public ConfigureNodesLocalHost(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 ConfigureNodesDefault<V,PD extends BasicPipelineData<V>>


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