This returns the name that you gave to the group.
Reference:
getParent
public final ThreadGroup getParent()
This returns the parent of this group.
Reference:
parentOf
public final boolean parentOf(ThreadGroup g)
This returns true if this is the parent.
Reference:
stop
public final void stop() throws SecurityException
This calls stop() on every thread and thread group in this group.
Reference:
Comments:
Deprecated in Java 2.
suspend
public final void suspend()
throws SecurityException
This calls suspend() on every thread and thread group in this group.
Reference:
Comments:
Deprecated in Java 2.
resume
public final void resume()
throws SecurityException
This calls resume() on every thread and thread group in this group.
Reference:
Comments:
Deprecated in Java 2.
destroy
public final void destroy()
throws SecurityException,
IllegalThreadStateException
This removes the group if it is empty. If the thread group has subgroups, destroy() is called on
each of those first. Finally, the newly destroyed thread group is removed from its parent.
Reference:
Search WWH :