java.lang.InheritableThreadLocal<T>
A variable for which each thread has its own value; child threads will
inherit the value at thread creation time.
Summary
Public Constructors
Protected Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
InheritableThreadLocal()
Creates a new inheritable thread local variable.
Protected Methods
protected
T
childValue(T parentValue)
Creates a value for the child thread given the parent thread's value.
Called from the parent thread when creating a child thread. The default
implementation returns the parent thread's value.