Package org.apache.pekko.routing
Class ConsistentHashingRouter
- java.lang.Object
-
- org.apache.pekko.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 thepekko.routing.ConsistentHashingRouterthe 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 thepekko.routing.ConsistentHashingRouterand messages can't implementpekko.routing.ConsistentHashingRouter.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()
-