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