|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadLocal<T>
org.springframework.core.NamedThreadLocal<T>
public class NamedThreadLocal<T>
ThreadLocal
subclass that exposes a specified name
as toString()
result (allowing for introspection).
NamedInheritableThreadLocal
Field Summary | |
---|---|
private java.lang.String |
name
|
Constructor Summary | |
---|---|
NamedThreadLocal(java.lang.String name)
Create a new NamedThreadLocal with the given name. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.ThreadLocal |
---|
get, initialValue, remove, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final java.lang.String name
Constructor Detail |
---|
public NamedThreadLocal(java.lang.String name)
name
- a descriptive name for this ThreadLocalMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |