org.springframework.core

## 类 NamedInheritableThreadLocal<T>

- java.lang.Object
- - java.lang.ThreadLocal<T>
  - - java.lang.InheritableThreadLocal<T>
    - - org.springframework.core.NamedInheritableThreadLocal<T>

-     public class NamedInheritableThreadLocal<T>
      extends InheritableThreadLocal<T>

  `InheritableThreadLocal` subclass that exposes a specified name as `toString()` result (allowing for introspection).
  从以下版本开始:
    2.5.2
  作者:
    Juergen Hoeller
  另请参阅:
    `NamedThreadLocal`

- - ### 构造器概要

    构造器
    构造器和说明
    `NamedInheritableThreadLocal(String name)` Create a new NamedInheritableThreadLocal with the given name.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `toString()`

    - ### 从类继承的方法 java.lang.InheritableThreadLocal

      `childValue`

    - ### 从类继承的方法 java.lang.ThreadLocal

      `get, initialValue, remove, set, withInitial`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### NamedInheritableThreadLocal

          public NamedInheritableThreadLocal(String name)

      Create a new NamedInheritableThreadLocal with the given name.
      参数:
        `name` - a descriptive name for this ThreadLocal

  - ### 方法详细资料

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`