akka.routing
Interface ConsistentHashingLike
- All Known Implementing Classes:
- ConsistentHashingRouter
public interface ConsistentHashingLike
The core pieces of the routing logic is located in this
trait to be able to extend.
nrOfInstances
int nrOfInstances()
routees
scala.collection.immutable.Iterable<java.lang.String> routees()
virtualNodesFactor
int virtualNodesFactor()
hashMapping
scala.PartialFunction<java.lang.Object,java.lang.Object> hashMapping()
createRoute
scala.PartialFunction<scala.Tuple2<ActorRef,java.lang.Object>,scala.collection.immutable.Iterable<Destination>> createRoute(RouteeProvider routeeProvider)