ThreadGroupReference (Java SE 19 & JDK 19) (original) (raw)

All Superinterfaces:

[Mirror](Mirror.html "interface in com.sun.jdi"), [ObjectReference](ObjectReference.html "interface in com.sun.jdi"), [Value](Value.html "interface in com.sun.jdi")


public interface ThreadGroupReferenceextends ObjectReference

A thread group object from the target VM. A ThreadGroupReference is an ObjectReference with additional access to threadgroup-specific information from the target VM.

Since:

1.3

[name](#name%28%29)()
Returns the name of this thread group.
[parent](#parent%28%29)()
Returns the parent of this thread group.
void
[resume](#resume%28%29)()
Resumes all threads in this thread group.
void
[suspend](#suspend%28%29)()
Suspends all threads in this thread group.
[threads](#threads%28%29)()
Returns a List containing a ThreadReference for each live platform thread in this thread group.

Methods declared in interface com.sun.jdi.ObjectReference

[disableCollection](ObjectReference.html#disableCollection%28%29), [enableCollection](ObjectReference.html#enableCollection%28%29), [entryCount](ObjectReference.html#entryCount%28%29), [equals](ObjectReference.html#equals%28java.lang.Object%29), [getValue](ObjectReference.html#getValue%28com.sun.jdi.Field%29), [getValues](ObjectReference.html#getValues%28java.util.List%29), [hashCode](ObjectReference.html#hashCode%28%29), [invokeMethod](ObjectReference.html#invokeMethod%28com.sun.jdi.ThreadReference,com.sun.jdi.Method,java.util.List,int%29), [isCollected](ObjectReference.html#isCollected%28%29), [owningThread](ObjectReference.html#owningThread%28%29), [referenceType](ObjectReference.html#referenceType%28%29), [referringObjects](ObjectReference.html#referringObjects%28long%29), [setValue](ObjectReference.html#setValue%28com.sun.jdi.Field,com.sun.jdi.Value%29), [uniqueID](ObjectReference.html#uniqueID%28%29), [waitingThreads](ObjectReference.html#waitingThreads%28%29)

Methods declared in interface com.sun.jdi.Value

[type](Value.html#type%28%29)