public class NamedInheritableThreadLocal<T> extends InheritableThreadLocal<T>
InheritableThreadLocal subclass that exposes a specified name
as toString() result (allowing for introspection).NamedThreadLocal| 构造器和说明 |
|---|
NamedInheritableThreadLocal(String name)
Create a new NamedInheritableThreadLocal with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
toString() |
childValueget, initialValue, remove, set, withInitial