|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.util.DebuggingThreadLocal<T>
T - the typepublic class DebuggingThreadLocal<T>
Similar to ThreadLocal, except that it allows its data to be read from other threads - useful for debugging info.
| Constructor Summary | |
|---|---|
DebuggingThreadLocal()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebuggingThreadLocal()
| Method Detail |
|---|
public void set(T value)
public void remove()
public T get()
public java.util.HashMap<java.lang.Long,T> getSnapshotOfAllThreads()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||