com.atlassian.confluence.concurrent
Class ThreadLocalMap<K,V>

java.lang.Object
  extended by java.lang.ThreadLocal<T>
      extended by com.atlassian.confluence.concurrent.ResettableThreadLocal<java.util.Map<K,V>>
          extended by com.atlassian.confluence.concurrent.ThreadLocalMap<K,V>

public class ThreadLocalMap<K,V>
extends ResettableThreadLocal<java.util.Map<K,V>>

A thread local, resettable hash map


Constructor Summary
ThreadLocalMap()
           
 
Method Summary
protected  java.util.Map<K,V> initialValue()
           
 
Methods inherited from class com.atlassian.confluence.concurrent.ResettableThreadLocal
reset
 
Methods inherited from class java.lang.ThreadLocal
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalMap

public ThreadLocalMap()
Method Detail

initialValue

protected java.util.Map<K,V> initialValue()
Overrides:
initialValue in class java.lang.ThreadLocal<java.util.Map<K,V>>


Copyright © 2003-2014 Atlassian. All Rights Reserved.