java.lang
Class ThreadGroup
java.lang.Object
java.lang.ThreadGroup
- public class ThreadGroup
- extends Object
nthreads
int nthreads
name
String name
groups
ThreadGroup[] groups
daemon
boolean daemon
vmAllowSuspension
boolean vmAllowSuspension
ngroups
int ngroups
maxPriority
int maxPriority
parent
ThreadGroup parent
threads
Thread[] threads
destroyed
boolean destroyed
ThreadGroup
private ThreadGroup()
ThreadGroup
public ThreadGroup(String)
ThreadGroup
public ThreadGroup(ThreadGroup,
String)
activeCount
public int activeCount()
activeGroupCount
public int activeGroupCount()
getMaxPriority
public final int getMaxPriority()
checkAccess
public final void checkAccess()
destroy
public final void destroy()
interrupt
public final void interrupt()
list
public void list()
resume
public final void resume()
stop
public final void stop()
suspend
public final void suspend()
isDaemon
public final boolean isDaemon()
isDestroyed
public boolean isDestroyed()
setMaxPriority
public final void setMaxPriority(int)
setDaemon
public final void setDaemon(boolean)
allowThreadSuspension
public boolean allowThreadSuspension(boolean)
stopOrSuspend
private boolean stopOrSuspend(boolean)
list
void list(PrintStream,
int)
getName
public final String getName()
toString
public String toString()
- Overrides:
toString
in class Object
add
void add(Thread)
remove
void remove(Thread)
enumerate
public int enumerate(Thread[])
enumerate
private int enumerate(Thread[],
int,
boolean)
enumerate
public int enumerate(Thread[],
boolean)
getParent
public final ThreadGroup getParent()
add
private final void add(ThreadGroup)
remove
private void remove(ThreadGroup)
parentOf
public final boolean parentOf(ThreadGroup)
enumerate
public int enumerate(ThreadGroup[])
enumerate
private int enumerate(ThreadGroup[],
int,
boolean)
enumerate
public int enumerate(ThreadGroup[],
boolean)
uncaughtException
public void uncaughtException(Thread,
Throwable)
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.