Java Reference
In-Depth Information
Creates a new THReadGroup with a specified name in the
ThreadGroupparent . A NullPointerException is thrown if parent is
null .
public final String getName()
Returns the name of this ThreadGroup .
public final ThreadGroup getParent()
Returns the parent ThreadGroup , or null if it has none (which
can only occur for the top-level thread group).
public final void setDaemon(boolean daemon)
Sets the daemon status of this thread group.
public final boolean isDaemon()
Returns the daemon status of this thread group.
public final void setMaxPriority(int maxPri)
Sets the maximum priority of this thread group.
public final int getMaxPriority()
Gets the current maximum priority of this thread group.
public final boolean parentOf(ThreadGroup g)
Checks whether this thread group is a parent of the group g ,
or is the group g . This might be better thought of as "part of,"
since a group is part of itself.
public final void checkAccess()
 
Search WWH ::




Custom Search