Uses of Class
java.lang.ThreadGroup
Packages that use ThreadGroup
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Utility classes commonly useful in concurrent programming.
-
Uses of ThreadGroup in java.lang
Methods in java.lang that return ThreadGroupModifier and TypeMethodDescriptionfinal ThreadGroupThreadGroup.getParent()Returns the parent of this thread group.SecurityManager.getThreadGroup()Deprecated, for removal: This API element is subject to removal in a future version.Returns the current Thread'sThreadGroup.final ThreadGroupThread.getThreadGroup()Returns the thread's thread group ornullif the thread has terminated.Methods in java.lang with parameters of type ThreadGroupModifier and TypeMethodDescriptionvoidSecurityManager.checkAccess(ThreadGroup g) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.intThreadGroup.enumerate(ThreadGroup[] list) Copies into the specified array references to every subgroup in this thread group and its subgroups.intThreadGroup.enumerate(ThreadGroup[] list, boolean recurse) Copies into the specified array references to every subgroup in this thread group.Thread.Builder.OfPlatform.group(ThreadGroup group) Sets the thread group.final booleanThreadGroup.parentOf(ThreadGroup g) Tests if this thread group is either the thread group argument or one of its ancestor thread groups.Constructors in java.lang with parameters of type ThreadGroupModifierConstructorDescriptionThread(ThreadGroup group, Runnable task) Initializes a new platformThread.Thread(ThreadGroup group, Runnable task, String name) Initializes a new platformThreadso that it hastaskas its run object, has the specifiednameas its name, and belongs to the thread group referred to bygroup.Thread(ThreadGroup group, Runnable task, String name, long stackSize) Initializes a new platformThreadso that it hastaskas its run object, has the specifiednameas its name, and belongs to the thread group referred to bygroup, and has the specified stack size.Thread(ThreadGroup group, Runnable task, String name, long stackSize, boolean inheritInheritableThreadLocals) Initializes a new platformThreadso that it hastaskas its run object, has the specifiednameas its name, belongs to the thread group referred to bygroup, has the specifiedstackSize, and inherits initial values for inheritable thread-local variables ifinheritThreadLocalsistrue.Thread(ThreadGroup group, String name) Initializes a new platformThread.ThreadGroup(ThreadGroup parent, String name) Creates a new thread group. -
Uses of ThreadGroup in java.util.concurrent
Constructors in java.util.concurrent with parameters of type ThreadGroupModifierConstructorDescriptionprotectedForkJoinWorkerThread(ThreadGroup group, ForkJoinPool pool, boolean preserveThreadLocals) Creates a ForkJoinWorkerThread operating in the given thread group and pool, and with the given policy for preserving ThreadLocals.