- <init>
Initializes a new ConsistentHash using the given hashFunction to calculate
positions for each member
- getMember
Returns the member instance to which the given message should be routed. If no
suitable member could
- findSuitableMember
- with
Registers the given member with given loadFactor and commandFilter if it is not
already contained in
- without
Deregisters the given member and returns a new ConsistentHash with updated
memberships.
- getMembers
Returns the set of members part of this hash ring.
- hash
Returns the hash of the given routingKey. By default this creates a MD5 hash
with hex encoding.
- toString
- withAdditionalNode
Returns a ConsistentHash with the given additional nodeName, which is given
segmentCount segments on
- withExclusively
Returns a ConsistentHash instance where only segments leading to the given nodes
are available. Eac