T - the typepublic class DebuggingThreadLocal<T>
extends java.lang.Object
| Constructor and Description |
|---|
DebuggingThreadLocal() |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
java.util.HashMap<java.lang.Long,T> |
getSnapshotOfAllThreads()
Get a snapshot of the data of all threads.
|
void |
remove()
Remove the value for the current thread.
|
void |
set(T value) |
public void set(T value)
public void remove()
public T get()
public java.util.HashMap<java.lang.Long,T> getSnapshotOfAllThreads()