public class AutoResetThreadLocal<T> extends InitialThreadLocal<T>
| Constructor and Description |
|---|
AutoResetThreadLocal(String name) |
AutoResetThreadLocal(String name,
Supplier<T> supplier) |
AutoResetThreadLocal(String name,
T initialValue)
Deprecated.
As of 7.0.0, replaced by
AutoResetThreadLocal(String,
Supplier) |
initialValue, toStringclearLongLivedThreadLocals, clearShortLivedThreadLocals, copy, equals, get, getLongLivedThreadLocals, getShortLivedThreadLocals, hashCode, remove, set, setThreadLocalswithInitialpublic AutoResetThreadLocal(String name)
@Deprecated public AutoResetThreadLocal(String name, T initialValue)
AutoResetThreadLocal(String,
Supplier)