img
. . . . . .
Comments: Deprecated in Java 1.1. See ThreadGroup.allThreadsCount()
enumerate
public static int enumerate(Thread tarray[])
This fills tarray with as many currently active threads as fit, returning that number.
Reference:
Chapter 10.
Comments:
Deprecated in Java 1.1. See ThreadGroup.allThreads().
The Class java.lang.ThreadGroup
ThreadGroup
public ThreadGroup(String name) throws SecurityException
public ThreadGroup(ThreadGroup parent, String name)
throwsSecurityException, Null Pointer Exception
These create a new thread group.
Reference:
Chapter 10.
toString
public String toString()
This returns a printable string.
Reference:
Chapter 10.
checkAccess
public final void checkAccess() throws SecurityException
If there is a security manager, its checkAccess() method is called with the ThreadGroup as
an argument.
Chapter 10.
Reference:
getName
public final String getName()
This returns the name that you gave to the group.
Reference:
Chapter 10.
getParent
public final ThreadGroup getParent()
This returns the parent of this group.
Reference:
Chapter 10.
parentOf
public final boolean parentOf(ThreadGroup g)
Search WWH :
Custom Search
Previous Page
Multithreaded Programming with JAVA - Topic Index
Next Page
Multithreaded Programming with JAVA - Bookmarks
Home