| Package | Description | 
|---|---|
| java.lang | 
| Modifier and Type | Method and Description | 
|---|---|
static Thread | 
Thread.currentThread()
Returns a reference to the currently executing thread object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Map<Thread,StackTraceElement[]> | 
Thread.getAllStackTraces()
Returns a map of stack traces for all live threads. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SecurityManager.checkAccess(Thread t)
Throws a  
SecurityException if the calling thread is not allowed to modify the thread
 argument. | 
static int | 
Thread.enumerate(Thread[] tarray)
Copies into the specified array every active thread. 
 | 
void | 
Thread.UncaughtExceptionHandler.uncaughtException(Thread t,
                 Throwable e)
Method invoked when the given thread terminates due to the given uncaught exception. 
 |