ThreadGroup JDK 1.0

java.lang

Synopsis^  ?
public class ThreadGroup {
// Public Constructors
    public ThreadGroup( String name);  
    public ThreadGroup( ThreadGroup parent, String name);  
// Property Accessor Methods (by property name)
    public final boolean isDaemon( );  
    public final void setDaemon( boolean daemon);  
1.1 public boolean isDestroyed( ); synchronized 
    public final int getMaxPriority( );  
    public final void setMaxPriority( int pri);  
    public final String getName( );  
    public final ThreadGroup getParent( );  
// Public Instance Methods
    public int activeCount( );  
    public int activeGroupCount( );  
    public final void checkAccess( );  
    public final void destroy( );  
    public int enumerate( Thread[ ] list);  
    public int enumerate( ThreadGroup[ ] list);  
    public int enumerate( Thread[ ] list, boolean recurse);  
    public int enumerate( ThreadGroup[ ] list, boolean recurse);  
2.0 public final void interrupt( );  
    public void list( );  
    public final boolean parentOf( ThreadGroup g);  
    public void uncaughtException( Thread t, Throwable e);  
// Public methods overriding Object
    public String toString( );  
// Deprecated Methods
 #  public boolean allowThreadSuspension( boolean b);  
 #  public final void resume( );  
 #  public final void stop( );  
 #  public final void suspend( );  
}

Hierarchy^  ?

[Object]
   |
[ThreadGroup]

JavaBeans Properties^  ?

  Name    Type    Access    Default    Flags  
  daemon    boolean    is / set    
  destroyed    boolean    is     read-only   
  maxPriority    int    get / set    
  name    String    get     read-only   
  parent    ThreadGroup    get     read-only   

Inherited Properties^  ?
Object: class

Inherited Methods^  ?
Object: clone(), equals(), finalize(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()

Passed To^  ?
SecurityManager.checkAccess(), Thread.Thread(), ThreadGroup.{enumerate(), parentOf(), ThreadGroup()}

Returned By^  ?
SecurityManager.getThreadGroup(), Thread.getThreadGroup(), ThreadGroup.getParent()

Uses^  ?
Class, IllegalThreadStateException, NullPointerException, Object, SecurityManager, String, StringBuffer, System, Thread, ThreadDeath, Throwable

Used By^  ?
SecurityManager, Thread


Java Power Reference. Created by David Flanagan.
Copyright © 1999 O'Reilly & Associates.All Rights Reserved.

This file may not be distributed on the Internet.