|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadLocal<T>
java.lang.InheritableThreadLocal<T>
public class InheritableThreadLocal<T>
InheritableThreadLocal provides thread local variables that inherit their default value from the parent thread.
Constructor Summary | |
---|---|
InheritableThreadLocal()
Constructor for an inheritable thread local variable |
Method Summary | |
---|---|
protected T |
childValue(T parentValue)
childValue computes the initial value of an this inheritable thread local variable as a function of the value of the parent. |
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 |
---|
public InheritableThreadLocal()
Method Detail |
---|
protected T childValue(T parentValue)
parentValue
- the parent value.
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |