com.senseidb.cluster.routing
Class RingHashLoadBalancer
java.lang.Object
com.senseidb.cluster.routing.RingHashLoadBalancer
- All Implemented Interfaces:
- SenseiLoadBalancer
public class RingHashLoadBalancer
- extends Object
- implements SenseiLoadBalancer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RingHashLoadBalancer
public RingHashLoadBalancer(HashProvider hashingStrategy,
int numberOfReplicas,
Set<com.linkedin.norbert.javacompat.cluster.Node> nodes)
route
public RoutingInfo route(String routeParam)
- Specified by:
route
in interface SenseiLoadBalancer
- Returns:
- the routing information for the given routing parameter.
Copyright © 2010-2012. All Rights Reserved.