consistent Consistent hash for Java Examples ConsistentHash consistentHash = new ConsistentHash(); consistentHash.addServer("server1"); consistentHash.addServer("server2"); consistentHash.getTargetServer("userjack")