| 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 |
|---|---|
static int |
Thread.enumerate(Thread[] tarray)
Copies into the specified array every active thread in the current
thread's thread group and its subgroups.
|
void |
Thread.UncaughtExceptionHandler.uncaughtException(Thread t,
Throwable e)
Method invoked when the given thread terminates due to the
given uncaught exception.
|
Copyright © 2025 API Design. All Rights Reserved.