com.atlassian.confluence.concurrent
Class ResettableThreadLocal<T>

java.lang.Object
  extended by java.lang.ThreadLocal<T>
      extended by com.atlassian.confluence.concurrent.ResettableThreadLocal<T>
Direct Known Subclasses:
ThreadLocalMap

public abstract class ResettableThreadLocal<T>
extends ThreadLocal<T>

Simple abstract class with a method to reset the thread local to its initial value

See Also:
ThreadLocal.initialValue()

Constructor Summary
ResettableThreadLocal()
           
 
Method Summary
 void reset()
           
 
Methods inherited from class java.lang.ThreadLocal
get, initialValue, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResettableThreadLocal

public ResettableThreadLocal()
Method Detail

reset

public void reset()


Copyright © 2003–2015 Atlassian. All rights reserved.