Uses of Class
java.lang.ThreadGroup

Packages that use ThreadGroup
Package Description
java.lang  
  • Uses of ThreadGroup in java.lang

    Methods in java.lang that return ThreadGroup
    Modifier and Type Method Description
    ThreadGroup ThreadGroup.getParent()
    Returns this thread group's parent ThreadGroup.
    ThreadGroup SecurityManager.getThreadGroup()
    Returns the current thread's thread group.
    ThreadGroup Thread.getThreadGroup()
    Returns the ThreadGroup to which this Thread belongs.
    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.