|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.routing.RouteToAllStrategy
voldemort.routing.RouteToAllLocalPrefStrategy
public class RouteToAllLocalPrefStrategy
A class that denotes a route to all strategy with local preference. This class is meant to be consistent with the routing hierarchy convention. It simply returns the list of all nodes (just like RouteToAllStrategy) but is used to indicate that extra processing will be done down the pipeline.
Constructor Summary | |
---|---|
RouteToAllLocalPrefStrategy(java.util.Collection<Node> nodes)
|
Method Summary | |
---|---|
java.lang.String |
getType()
Get the type of RoutingStrategyType |
Methods inherited from class voldemort.routing.RouteToAllStrategy |
---|
getMasterPartition, getNodes, getNumReplicas, getPartitionList, getReplicatingPartitionList, routeRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RouteToAllLocalPrefStrategy(java.util.Collection<Node> nodes)
Method Detail |
---|
public java.lang.String getType()
RoutingStrategy
getType
in interface RoutingStrategy
getType
in class RouteToAllStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |