public class NamedThreadLocal<T> extends ThreadLocal<T>
ThreadLocal
subclass that exposes a specified name
as toString()
result (allowing for introspection).NamedInheritableThreadLocal
Constructor and Description |
---|
NamedThreadLocal(String name)
Create a new NamedThreadLocal with the given name.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
get, initialValue, remove, set, withInitial