Uses of Class
io.axoniq.framework.springcloud.routing.ConsistentHash
Packages that use ConsistentHash
Package
Description
Routing primitives for the Spring Cloud connector: the cluster
members, their capabilities, and the ConsistentHash ring that picks one for a given routing key.The parts of the Spring Cloud connector that the command side and the query side both rely on.
-
Uses of ConsistentHash in io.axoniq.framework.springcloud.routing
Methods in io.axoniq.framework.springcloud.routing that return ConsistentHashModifier and TypeMethodDescriptionConsistentHash.with(Member member, MemberCapabilities capabilities) Returns aConsistentHashwith the givenmemberregistered under the givencapabilities, replacing any earlier registration of a member with the samename.ConsistentHash.withOnly(Map<Member, MemberCapabilities> memberships) Returns aConsistentHashholding exactly the givenmemberships, hashed with this ring's hash function.Returns aConsistentHashwithout the givenmember.