Package org.apache.pekko.routing
Class ConsistentHashingRouter
java.lang.Object
org.apache.pekko.routing.ConsistentHashingRouter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceIf you don't define thehashMappingwhen constructing thepekko.routing.ConsistentHashingRouterthe messages need to implement this interface to define what data to use for the consistent hash key.static final classIf you don't define thehashMappingwhen constructing thepekko.routing.ConsistentHashingRouterand messages can't implementpekko.routing.ConsistentHashingRouter.ConsistentHashablethemselves they can we wrapped by this envelope instead.static classstatic interfaceJAVA API Mapping from message to the data to use for the consistent hash key.static class -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConsistentHashingRouter
public ConsistentHashingRouter()
-