Serializable
, ConcurrentMap<Hash,SessionKey>
, Map<Hash,SessionKey>
public class PersistentKeyRing extends KeyRing
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>
Constructor | Description |
---|---|
PersistentKeyRing(RouterContext ctx) |
Modifier and Type | Method | Description |
---|---|---|
SessionKey |
put(Hash h,
SessionKey sk) |
|
SessionKey |
remove(Object o) |
clone
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
renderStatusHTML
public PersistentKeyRing(RouterContext ctx)
public SessionKey put(Hash h, SessionKey sk)
put
in interface Map<Hash,SessionKey>
put
in class ConcurrentHashMap<Hash,SessionKey>
public SessionKey remove(Object o)
remove
in interface Map<Hash,SessionKey>
remove
in class ConcurrentHashMap<Hash,SessionKey>