voldemort.store.routed.action
Class ConfigureNodesLocalHostByZone<V,PD extends BasicPipelineData<V>>
java.lang.Object
voldemort.store.routed.action.AbstractAction<K,V,PD>
voldemort.store.routed.action.AbstractConfigureNodes<ByteArray,V,PD>
voldemort.store.routed.action.ConfigureNodesByZone<V,PD>
voldemort.store.routed.action.ConfigureNodesLocalHostByZone<V,PD>
- All Implemented Interfaces:
- Action
public class ConfigureNodesLocalHostByZone<V,PD extends BasicPipelineData<V>>
- extends ConfigureNodesByZone<V,PD>
Use the zone aware 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigureNodesLocalHostByZone
public ConfigureNodesLocalHostByZone(PD pipelineData,
Pipeline.Event completeEvent,
FailureDetector failureDetector,
int required,
RoutingStrategy routingStrategy,
ByteArray key,
Zone clientZone)
getNodes
public java.util.List<Node> getNodes(ByteArray key,
Pipeline.Operation op)
- Overrides:
getNodes
in class ConfigureNodesByZone<V,PD extends BasicPipelineData<V>>
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu