|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use Thread |
|
Provides classes that are fundamental to the design of the Java
programming language.
|
|
Utility classes commonly useful in concurrent programming.
|
static Thread |
Thread.currentThread()
Returns a reference to the currently executing thread object.
|
Thread.getAllStackTraces()
Returns a map of stack traces for all live threads.
|
void |
Runtime.addShutdownHook(Thread hook)
Registers a new virtual-machine shutdown hook.
|
boolean |
Runtime.removeShutdownHook(Thread hook)
De-registers a previously-registered virtual-machine shutdown hook.
|
void |
SecurityManager.checkAccess(Thread t)
Throws a SecurityException if the
calling thread is not allowed to modify the thread argument.
|
static int |
Copies into the specified array every active thread in the current
thread's thread group and its subgroups.
|
void |
Method invoked when the given thread terminates due to the
given uncaught exception.
|
int |
Copies into the specified array every active thread in this
thread group and its subgroups.
|
int |
Copies into the specified array every active thread in this
thread group.
|
void |
Called by the Java Virtual Machine when a thread in this
thread group stops because of an uncaught exception, and the thread
does not have a specific Thread.UncaughtExceptionHandler
installed.
|
Uses of Thread in java.util.concurrent |
Subclasses of Thread in java.util.concurrent |
|
class |
A thread managed by a ForkJoinPool, which executes
ForkJoinTasks.
|
Methods in java.util.concurrent that return Thread |
|
Constructs a new Thread.
|
Methods in java.util.concurrent that return types with arguments of type Thread |
|
protected Collection<Thread> |
Semaphore.getQueuedThreads()
Returns a collection containing threads that may be waiting to acquire.
|
Methods in java.util.concurrent with parameters of type Thread |
|
protected void |
Method invoked prior to executing the given Runnable in the
given thread.
|
void |
Performs a timed Thread.join
using this time unit.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |