|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ThreadGroup | |
---|---|
java.lang | Provides classes that are fundamental to the design of the Java programming language. |
Uses of ThreadGroup in java.lang |
---|
Methods in java.lang that return ThreadGroup | |
---|---|
ThreadGroup |
ThreadGroup.getParent()
getParent returns the parent of this thread group. |
ThreadGroup |
SecurityManager.getThreadGroup()
Returns the thread group into which to instantiate any new thread being created at the time this is being called. |
ThreadGroup |
Thread.getThreadGroup()
Return the ThreadGroup to which this thread belongs. |
Methods in java.lang with parameters of type ThreadGroup | |
---|---|
void |
SecurityManager.checkAccess(ThreadGroup g)
Throws a SecurityException if the
calling thread is not allowed to modify the thread group argument. |
int |
ThreadGroup.enumerate(ThreadGroup[] list)
enumerate enumerates all the thread groups that are children of this thread group and any sub groups and stores the thread groups in the given array. |
int |
ThreadGroup.enumerate(ThreadGroup[] array,
boolean recursive)
enumerate enumerates all the thread groups that are children of this thread group and any sub groups and stores the thread groups in the given array. |
boolean |
ThreadGroup.parentOf(ThreadGroup g)
parentOf tests if this is equal to a given thread group or a (grand-) parent of a given thread group . |
Constructors in java.lang with parameters of type ThreadGroup | |
---|---|
Thread(ThreadGroup group,
Runnable target)
Constructor to create a new thread. |
|
Thread(ThreadGroup group,
Runnable target,
String name)
Constructor to create a new thread with given thread group, Runnable and name. |
|
Thread(ThreadGroup group,
Runnable target,
String name,
long stackSize)
Constructor to create a new thread with given thread group, Runnable, name and stack size. |
|
Thread(ThreadGroup group,
String name)
Constructor to create a new thread. |
|
ThreadGroup(ThreadGroup parent,
String name)
Creates a new ThreadGroup with the given parent and the given name. |
|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |