|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ThreadGroup | |
java.lang |
Uses of ThreadGroup in java.lang |
Fields in java.lang declared as ThreadGroup | |
private ThreadGroup |
Thread.group
|
private static ThreadGroup |
SecurityManager.rootGroup
reference to the root thread group, used for the checkAccess methods. |
(package private) ThreadGroup |
ThreadGroup.parent
|
(package private) ThreadGroup[] |
ThreadGroup.groups
|
Methods in java.lang that return ThreadGroup | |
ThreadGroup |
Thread.getThreadGroup()
Returns the thread group to which this thread belongs. |
private static ThreadGroup |
SecurityManager.getRootGroup()
|
ThreadGroup |
SecurityManager.getThreadGroup()
Returns the thread group into which to instantiate any new thread being created at the time this is being called. |
ThreadGroup |
ThreadGroup.getParent()
Returns the parent of this thread group. |
Methods in java.lang with parameters of type ThreadGroup | |
private void |
Thread.init(ThreadGroup g,
Runnable target,
String name)
Initialize a Thread. |
void |
SecurityManager.checkAccess(ThreadGroup g)
Throws a SecurityException if the
calling thread is not allowed to modify the thread group argument. |
boolean |
ThreadGroup.parentOf(ThreadGroup g)
Tests if this thread group is either the thread group argument or one of its ancestor thread groups. |
int |
ThreadGroup.enumerate(ThreadGroup[] list)
Copies into the specified array references to every active subgroup in this thread group. |
int |
ThreadGroup.enumerate(ThreadGroup[] list,
boolean recurse)
Copies into the specified array references to every active subgroup in this thread group. |
private int |
ThreadGroup.enumerate(ThreadGroup[] list,
int n,
boolean recurse)
|
private void |
ThreadGroup.add(ThreadGroup g)
Adds the specified Thread group to this group. |
private void |
ThreadGroup.remove(ThreadGroup g)
Removes the specified Thread group from this group. |
Constructors in java.lang with parameters of type ThreadGroup | |
Thread.Thread(ThreadGroup group,
Runnable target)
Allocates a new Thread object. |
|
Thread.Thread(ThreadGroup group,
String name)
Allocates a new Thread object. |
|
Thread.Thread(ThreadGroup group,
Runnable target,
String name)
Allocates a new Thread object so that it has
target as its run object, has the specified
name as its name, and belongs to the thread group
referred to by group . |
|
ThreadGroup.ThreadGroup(ThreadGroup parent,
String name)
Creates a new thread group. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |