Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.ThreadGroup

Availability: JDK 1.0

public class ThreadGroup extends Object {
   // Public Constructors
      public ThreadGroup(String name);
      public ThreadGroup(ThreadGroup parent, String name);
   // Public Instance Methods
      public int activeCount();
      public int activeGroupCount();
1.1  public boolean allowThreadSuspension(boolean b);
      public final void checkAccess();
      public final void destroy();
      public int enumerate(Thread[] list);
      public int enumerate(Thread[] list, boolean recurse);
      public int enumerate(ThreadGroup[] list);
      public int enumerate(ThreadGroup[] list, boolean recurse);
      public final int getMaxPriority();
      public final String getName();
      public final ThreadGroup getParent();
      public final boolean isDaemon();
1.1  public synchronized boolean isDestroyed();
      public void list();
      public final boolean parentOf(ThreadGroup g);
      public final void resume();
      public final void setDaemon(boolean daemon);
      public final void setMaxPriority(int pri);
      public final void stop();
      public final void suspend();
      public String toString();  // Overrides Object.toString()
      public void uncaughtException(Thread t, Throwable e);
}
Passed To:
RMISecurityManager.checkAccess(), SecurityManager.checkAccess(), Thread.Thread(), ThreadGroup.enumerate(), ThreadGroup.parentOf(), ThreadGroup.ThreadGroup().
Returned By:
SecurityManager.getThreadGroup(), Thread.getThreadGroup(), ThreadGroup.getParent().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.