Uses of Class
java.lang.ThreadGroup
-
Packages that use ThreadGroup Package Description 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 Modifier and Type Method Description ThreadGroupThreadGroup. getParent()Answers the receiver's parent ThreadGroup.ThreadGroupSecurityManager. getThreadGroup()Returns the thread group into which to instantiate any new thread being created at the time this is being called.ThreadGroupThread. getThreadGroup()Answers the ThreadGroup to which the receiver belongsMethods in java.lang with parameters of type ThreadGroup Modifier and Type Method Description voidSecurityManager. checkAccess(ThreadGroup g)Throws aSecurityExceptionif the calling thread is not allowed to modify the thread group argument.intThreadGroup. enumerate(ThreadGroup[] groups)Copies an array with all ThreadGroups which are children of the receiver (directly or indirectly) into the arraygroupspassed as parameters.intThreadGroup. enumerate(ThreadGroup[] groups, boolean recurse)Copies an array with all ThreadGroups which are children of the receiver into the arraygroupspassed as parameter.booleanThreadGroup. parentOf(ThreadGroup g)Answers true if the receiver is a direct or indirect parent group of ThreadGroupg, false otherwise.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 stack)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 stack, boolean inheritThreadLocals)Constructs a new Thread with a runnable object, the given name, the thread stack size, the flag to inherit initial values for inheritable thread-local variables 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 name provided, as child of the ThreadGroupparent
-