Package io.aether.syncmap
Class ConsistentHashRing
- java.lang.Object
-
- io.aether.syncmap.ConsistentHashRing
-
public class ConsistentHashRing extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConsistentHashRing(int virtualNodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddServer(int serverId)intgetOwner(java.lang.Object key)voidremoveServer(int serverId)intsize()
-