Package akka.routing
Class ConsistentHashingRouter
- java.lang.Object
-
- akka.routing.ConsistentHashingRouter
-
public class ConsistentHashingRouter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConsistentHashingRouter.ConsistentHashableIf you don't define thehashMappingwhen constructing theConsistentHashingRouterthe messages need to implement this interface to define what data to use for the consistent hash key.static classConsistentHashingRouter.ConsistentHashableEnvelopeIf you don't define thehashMappingwhen constructing theConsistentHashingRouterand messages can't implementConsistentHashingRouter.ConsistentHashablethemselves they can we wrapped by this envelope instead.static classConsistentHashingRouter.ConsistentHashableEnvelope$static interfaceConsistentHashingRouter.ConsistentHashMapperJAVA API Mapping from message to the data to use for the consistent hash key.static classConsistentHashingRouter.emptyConsistentHashMapping$
-
Constructor Summary
Constructors Constructor Description ConsistentHashingRouter()
-