Class TokenMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap
-
- com.atlassian.confluence.rpc.auth.TokenMap
-
- All Implemented Interfaces:
Serializable,Cloneable,Map
public class TokenMap extends HashMap
A simple map with a timeout on the get/put methods.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description TokenMap(long tokenTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Objectclone()SetentrySet()Objectget(Object key)SetkeySet()Objectput(Object key, Object value)voidputAll(Map m)Objectremove(Object key)Collectionvalues()-
Methods inherited from class java.util.HashMap
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, getOrDefault, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-