Liferay 6.1.10-ee-ga1

com.liferay.portal.kernel.util
Class InitialThreadLocal<T>

java.lang.Object
  extended by java.lang.ThreadLocal<T>
      extended by com.liferay.portal.kernel.util.CentralizedThreadLocal<T>
          extended by com.liferay.portal.kernel.util.InitialThreadLocal<T>
Direct Known Subclasses:
AutoResetThreadLocal

public class InitialThreadLocal<T>
extends CentralizedThreadLocal<T>


Constructor Summary
InitialThreadLocal(String name, T initialValue)
           
InitialThreadLocal(String name, T initialValue, boolean shortLived)
           
 
Method Summary
protected  T initialValue()
           
 String toString()
           
 
Methods inherited from class com.liferay.portal.kernel.util.CentralizedThreadLocal
clearLongLivedThreadLocals, clearShortLivedThreadLocals, get, getLongLivedThreadLocals, getShortLivedThreadLocals, hashCode, remove, set, setThreadLocals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitialThreadLocal

public InitialThreadLocal(String name,
                          T initialValue)

InitialThreadLocal

public InitialThreadLocal(String name,
                          T initialValue,
                          boolean shortLived)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

initialValue

protected T initialValue()
Overrides:
initialValue in class ThreadLocal<T>

Liferay 6.1.10-ee-ga1