-
Methods in java.lang with parameters of type ThreadGroup
| Modifier and Type |
Method |
Description |
void |
SecurityManager.checkAccess(ThreadGroup group) |
|
int |
ThreadGroup.enumerate(ThreadGroup[] groups) |
Iterates over all thread groups in this group (and its sub-groups) and
and stores the groups in the given array.
|
int |
ThreadGroup.enumerate(ThreadGroup[] groups,
boolean recurse) |
Iterates over all thread groups in this group (and, optionally, its
sub-groups) and stores the groups in the given array.
|
boolean |
ThreadGroup.parentOf(ThreadGroup g) |
Checks whether this thread group is a direct or indirect parent group of a
given ThreadGroup.
|
Constructors in java.lang with parameters of type ThreadGroup
| Constructor |
Description |
Thread(ThreadGroup group,
Runnable runnable) |
Constructs a new Thread with a Runnable object and a
newly generated name.
|
Thread(ThreadGroup group,
Runnable runnable,
String threadName) |
Constructs a new Thread with a Runnable object, the given
name and belonging to the ThreadGroup passed as parameter.
|
Thread(ThreadGroup group,
Runnable runnable,
String threadName,
long stackSize) |
Constructs a new Thread with a Runnable object, the given
name and belonging to the ThreadGroup passed as parameter.
|
Thread(ThreadGroup group,
String threadName) |
Constructs a new Thread with no Runnable object, the
given name and belonging to the ThreadGroup passed as parameter.
|
ThreadGroup(ThreadGroup parent,
String name) |
Constructs a new ThreadGroup with the given name, as a child of the
given ThreadGroup.
|