public class ThreadLocalManager extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected RuntimeException | marker | 
| protected Map<Long,ThreadLocal> | threadLocals | 
| Constructor and Description | 
|---|
| ThreadLocalManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | addThreadLocal(ThreadLocal threadLocal) | 
| static <T> ThreadLocal<T> | createThreadLocal(Class<T> type) | 
| static <T> ThreadLocal<T> | createThreadLocal(Class<T> type,
                 boolean createInitialValue) | 
| static void | remove() | 
| static void | remove(ThreadLocal threadLocal) | 
| String | toString() | 
protected Map<Long,ThreadLocal> threadLocals
protected RuntimeException marker
public static void addThreadLocal(ThreadLocal threadLocal)
public static <T> ThreadLocal<T> createThreadLocal(Class<T> type)
public static <T> ThreadLocal<T> createThreadLocal(Class<T> type, boolean createInitialValue)
public static void remove()
public static void remove(ThreadLocal threadLocal)
Copyright © 2020. All rights reserved.