com.atlassian.confluence.concurrent
Class ResettableThreadLocal

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

public abstract class ResettableThreadLocal
extends java.lang.ThreadLocal

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-2009 Atlassian Pty Ltd. All Rights Reserved.