Package net.i2p.router
Class PersistentKeyRing
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<Hash,SessionKey>
net.i2p.util.KeyRing
net.i2p.router.PersistentKeyRing
- All Implemented Interfaces:
Serializable
,ConcurrentMap<Hash,
,SessionKey> Map<Hash,
SessionKey>
ConcurrentHashMap with backing in the router.config file.
router.keyring.key.{base64 hash, with = replaced with $}={base64 session key}
Caution - not all HashMap methods are overridden.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K,
V> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
-
Method Summary
Methods inherited from class net.i2p.util.KeyRing
renderStatusHTML
Methods inherited from class java.util.concurrent.ConcurrentHashMap
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
Methods inherited from class java.util.AbstractMap
clone
-
Constructor Details
-
PersistentKeyRing
-
-
Method Details
-
put
- Specified by:
put
in interfaceMap<Hash,
SessionKey> - Overrides:
put
in classConcurrentHashMap<Hash,
SessionKey>
-
remove
- Specified by:
remove
in interfaceMap<Hash,
SessionKey> - Overrides:
remove
in classConcurrentHashMap<Hash,
SessionKey>
-