public class ThreadUtil
extends java.lang.Object
Constructor and Description |
---|
ThreadUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getThreadId()
Get the string ID for the current thread.
|
static java.lang.String |
getThreadId(java.lang.Thread thread)
Get the string ID for the specified thread.
|
public static java.lang.String getThreadId()
public static java.lang.String getThreadId(java.lang.Thread thread)
thread
- The thread.