ThreadGroup Members

ThreadGroup Members

Class Overview | This Package | All Packages

Constructors
Name Description
ThreadGroup(String) Constructs a new thread group.
ThreadGroup(ThreadGroup, String) Creates a new thread group.

Methods
Name Description
activeCount() Returns an estimate of the number of active threads in this thread group.
activeGroupCount() Returns an estimate of the number of active groups in this thread group.
allowThreadSuspension(boolean) Used by VM to control lowmem implicit suspension.
checkAccess() Determines if the currently running thread has permission to modify this thread group.
destroy() Destroys this thread group and all of its subgroups.
enumerate(Thread[]) Copies into the specified array every active thread in this thread group and its subgroups.
enumerate(Thread[], boolean) Copies into the specified array every active thread in this thread group.
enumerate(ThreadGroup[]) Copies into the specified array references to every active subgroup in this thread group.
enumerate(ThreadGroup[], boolean) Copies into the specified array references to every active subgroup in this thread group.
getMaxPriority() Returns the maximum priority of this thread group.
getName() Returns the name of this thread group.
getParent() Returns the parent of this thread group.
isDaemon() Tests if this thread group is a daemon thread group.
isDestroyed() Tests if this thread group has been destroyed.
list() Prints information about this thread group to the standard output.
parentOf(ThreadGroup) Tests if this thread group is either the thread group argument or one of its ancestor thread groups.
resume() Resumes all processes in this thread group.
setDaemon(boolean) Changes the daemon status of this thread group.
setMaxPriority(int) Sets the maximum priority of the group.
stop() Stops all processes in this thread group.
suspend() Suspends all processes in this thread group.
toString() Returns a string representation of this Thread group.
uncaughtException(Thread, Throwable) Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception.