public class ConsistenthashHelper extends Object
ConsistenthashHelper()
ConsistenthashHelper(int virtualCount)
void
add(String node)
clear()
String
get(String key)
boolean
isEmpty()
Set<String>
nodesSnapshoot()
remove(String node)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ConsistenthashHelper()
public ConsistenthashHelper(int virtualCount)
public boolean isEmpty()
public void clear()
public Set<String> nodesSnapshoot()
public void add(String node)
public void remove(String node)
public String get(String key)
Copyright © 2020. All rights reserved.