|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<Hash,SessionKey>
net.i2p.util.KeyRing
net.i2p.router.PersistentKeyRing
public class PersistentKeyRing
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
PersistentKeyRing(RouterContext ctx)
|
Method Summary | |
---|---|
SessionKey |
put(Hash h,
SessionKey sk)
|
SessionKey |
remove(Hash h)
|
void |
renderStatusHTML(java.io.Writer out)
|
Methods inherited from class java.util.concurrent.ConcurrentHashMap |
---|
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, putAll, putIfAbsent, remove, remove, replace, replace, size, values |
Methods inherited from class java.util.AbstractMap |
---|
clone, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public PersistentKeyRing(RouterContext ctx)
Method Detail |
---|
public SessionKey put(Hash h, SessionKey sk)
put
in interface java.util.Map<Hash,SessionKey>
put
in class java.util.concurrent.ConcurrentHashMap<Hash,SessionKey>
public SessionKey remove(Hash h)
public void renderStatusHTML(java.io.Writer out) throws java.io.IOException
renderStatusHTML
in class KeyRing
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |