com.liferay.portal.kernel.memory
Class SoftReferenceThreadLocal<T>

java.lang.Object
  extended by java.lang.ThreadLocal<T>
      extended by com.liferay.portal.kernel.memory.SoftReferenceThreadLocal<T>

public class SoftReferenceThreadLocal<T>
extends java.lang.ThreadLocal<T>

View Source

Author:
Shuyang Zhou

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

Constructor Detail

SoftReferenceThreadLocal

public SoftReferenceThreadLocal()
Method Detail

get

public T get()
Overrides:
get in class java.lang.ThreadLocal<T>

remove

public void remove()
Overrides:
remove in class java.lang.ThreadLocal<T>

set

public void set(T value)
Overrides:
set in class java.lang.ThreadLocal<T>