img
. . . . . .
This returns true if this is the parent.
Reference:
Chapter 10.
stop
public final void stop() throws SecurityException
This calls stop() on every thread and thread group in this group.
Reference:
Chapter 10.
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:
Chapter 10.
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:
Chapter 10.
Comments:
Deprecated in Java 2.
interrupt
public final void interrupt()
throws SecurityException
This calls interrupt() on every thread and thread group in this group.
Chapter 10.
Reference:
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:
Chapter 10.
getMaxPriority setMaxPriority
public final void getMaxPriority()
public final void setMaxPriority(int newMaxPrio)throws
SecurityException, IllegalArgumentException
This gets/sets the maximum priority allowed for any thread in this group.
Search WWH :
Custom Search
Previous Page
Multithreaded Programming with JAVA - Topic Index
Next Page
Multithreaded Programming with JAVA - Bookmarks
Home