DebuggingThreadLocal

Similar to ThreadLocal, except that it allows its data to be read from other threads - useful for debugging info.

Methods
T get()
T get()
HashMap getSnapshotOfAllThreads()
Get a snapshot of the data of all threads.
HashMap getSnapshotOfAllThreads()
Get a snapshot of the data of all threads.
Returns:
a HashMap containing a mapping from thread-id to value
void remove()
Remove the value for the current thread.
void remove()
Remove the value for the current thread.
void set(T value)
void set(T value)