com.atlassian.confluence.rpc.auth
Class TokenMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended bycom.atlassian.confluence.rpc.auth.TokenMap
All Implemented Interfaces:
Cloneable, Map, Serializable

public class TokenMap
extends HashMap

A simple map with a timeout on the get/put methods.

See Also:
Serialized Form

Constructor Summary
TokenMap(long tokenTimeout)
           
 
Method Summary
 void clear()
           
 Object clone()
           
 Set entrySet()
           
 Object get(Object key)
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 void putAll(Map m)
           
 Object remove(Object key)
           
 Collection values()
           
 
Methods inherited from class java.util.HashMap
containsKey, containsValue, isEmpty, size
 
Methods inherited from class java.util.AbstractMap
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

TokenMap

public TokenMap(long tokenTimeout)
Method Detail

put

public Object put(Object key,
                  Object value)

get

public Object get(Object key)

remove

public Object remove(Object key)

clear

public void clear()

clone

public Object clone()

values

public Collection values()

putAll

public void putAll(Map m)

entrySet

public Set entrySet()

keySet

public Set keySet()


Confluence is developed by Atlassian.