Comments: Deprecated in Java 1.1. See ThreadGroup.allThreadsCount()
public static int enumerate(Thread tarray)
This fills tarray with as many currently active threads as fit, returning that number.
Deprecated in Java 1.1. See ThreadGroup.allThreads().
The Class java.lang.ThreadGroup
public ThreadGroup(String name) throws SecurityException
public ThreadGroup(ThreadGroup parent, String name)
throwsSecurityException, Null Pointer Exception
These create a new thread group.
public String toString()
This returns a printable string.
public final void checkAccess() throws SecurityException
If there is a security manager, its checkAccess() method is called with the ThreadGroup as
public final String getName()
This returns the name that you gave to the group.
public final ThreadGroup getParent()
This returns the parent of this group.
public final boolean parentOf(ThreadGroup g)
Search WWH :