InheritableThreadLocal subclass that exposes a specified name
as toString() result (allowing for introspection).
NamedThreadLocal
| Access | Constructor and Description |
|---|---|
| public | NamedInheritableThreadLocal(String
a descriptive name for this ThreadLocal name)Create a new NamedInheritableThreadLocal with the given name. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| name | back to summary |
|---|---|
| private final String name | |
| NamedInheritableThreadLocal | back to summary |
|---|---|
| public NamedInheritableThreadLocal(String name) Create a new NamedInheritableThreadLocal with the given name.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |