APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.tools.jdi

public Class ThreadGroupReferenceImpl

extends ObjectReferenceImpl
implements ThreadGroupReference
Class Inheritance
All Implemented Interfaces
com.sun.jdi.ThreadGroupReference, com.sun.jdi.ObjectReference, com.sun.jdi.Value, com.sun.jdi.Mirror
Imports
java.util.Arrays, .List, com.sun.jdi.ThreadGroupReference, .ThreadReference, .VirtualMachine

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv ThreadGroupReference
pack-priv boolean
Inherited from com.sun.tools.jdi.ObjectReferenceImpl:
addedListenerref

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected String
private JDWP.ThreadGroupReference.Children
kids()

public String
name()

Implements com.sun.jdi.ThreadGroupReference.name.

Returns the name of this thread group.

protected ObjectReferenceImpl.Cache
public ThreadGroupReference
parent()

Implements com.sun.jdi.ThreadGroupReference.parent.

Returns the parent of this thread group.

public void
resume()

Implements com.sun.jdi.ThreadGroupReference.resume.

Resumes all threads in this thread group.

public void
suspend()

Implements com.sun.jdi.ThreadGroupReference.suspend.

Suspends all threads in this thread group.

public List<ThreadGroupReference>
threadGroups()

Implements com.sun.jdi.ThreadGroupReference.threadGroups.

Returns a List containing a ThreadGroupReference for each subgroup.

public List<ThreadReference>
threads()

Implements com.sun.jdi.ThreadGroupReference.threads.

Returns a List containing a ThreadReference for each live platform thread in this thread group.

public String
toString()

Overrides com.sun.tools.jdi.ObjectReferenceImpl.toString.

Implements com.sun.jdi.Mirror.toString.

Returns a String describing this mirror

pack-priv byte
Inherited from com.sun.tools.jdi.ObjectReferenceImpl:
disableCollectionenableCollectionentryCountequalsgetCachegetValuegetValueshashCodeinvokableReferenceTypeinvokeMethodisClassObjectisCollectedjdwpMonitorInfoowningThreadprepareForAssignmentTorefreferenceTypereferringObjectssendInvokeCommandsetValuetypeuniqueIDvalidateAssignmentvalidateClassMethodInvocationvalidateIfaceMethodInvocationvalidateMethodInvocationvmNotSuspendedvmSuspendedwaitingThreads

Field Detail

nameback to summary
pack-priv String name
parentback to summary
pack-priv ThreadGroupReference parent
triedParentback to summary
pack-priv boolean triedParent

Constructor Detail

ThreadGroupReferenceImplback to summary
pack-priv ThreadGroupReferenceImpl(VirtualMachine aVm, long aRef)

Method Detail

descriptionback to summary
protected String description()

Overrides com.sun.tools.jdi.ObjectReferenceImpl.description.

kidsback to summary
private JDWP.ThreadGroupReference.Children kids()
nameback to summary
public String name()

Implements com.sun.jdi.ThreadGroupReference.name.

Doc from com.sun.jdi.ThreadGroupReference.name.

Returns the name of this thread group.

newCacheback to summary
protected ObjectReferenceImpl.Cache newCache()

Overrides com.sun.tools.jdi.ObjectReferenceImpl.newCache.

parentback to summary
public ThreadGroupReference parent()

Implements com.sun.jdi.ThreadGroupReference.parent.

Doc from com.sun.jdi.ThreadGroupReference.parent.

Returns the parent of this thread group.

resumeback to summary
public void resume()

Implements com.sun.jdi.ThreadGroupReference.resume.

Doc from com.sun.jdi.ThreadGroupReference.resume.

Resumes all threads in this thread group. Each thread in this group and in all of its subgroups will be resumed as described in ThreadReference#resume.

suspendback to summary
public void suspend()

Implements com.sun.jdi.ThreadGroupReference.suspend.

Doc from com.sun.jdi.ThreadGroupReference.suspend.

Suspends all threads in this thread group. Each thread in this group and in all of its subgroups will be suspended as described in ThreadReference#suspend. This is not guaranteed to be an atomic operation; if the target VM is not interrupted at the time this method is called, it is possible that new threads will be created between the time that threads are enumerated and all of them have been suspended.

threadGroupsback to summary
public List<ThreadGroupReference> threadGroups()

Implements com.sun.jdi.ThreadGroupReference.threadGroups.

Doc from com.sun.jdi.ThreadGroupReference.threadGroups.

Returns a List containing a ThreadGroupReference for each subgroup. Only the thread groups in this immediate thread group (and not its subgroups) are returned.

threadsback to summary
public List<ThreadReference> threads()

Implements com.sun.jdi.ThreadGroupReference.threads.

Doc from com.sun.jdi.ThreadGroupReference.threads.

Returns a List containing a ThreadReference for each live platform thread in this thread group. Virtual threads are not included. Only the live platform threads in this immediate thread group (and not its subgroups) are returned. A thread is alive if it has been started and has not terminated.

toStringback to summary
public String toString()

Overrides com.sun.tools.jdi.ObjectReferenceImpl.toString.

Implements com.sun.jdi.Mirror.toString.

Doc from com.sun.jdi.Mirror.toString.

Returns a String describing this mirror

typeValueKeyback to summary
pack-priv byte typeValueKey()

Overrides com.sun.tools.jdi.ObjectReferenceImpl.typeValueKey.

com.sun.tools.jdi back to summary

private Class ThreadGroupReferenceImpl.Cache

extends Cache
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv JDWP.ThreadGroupReference.Children
Inherited from com.sun.tools.jdi.ObjectReferenceImpl.Cache:
monitorInfo

Constructor Summary

AccessConstructor and Description
private

Field Detail

kidsback to summary
pack-priv JDWP.ThreadGroupReference.Children kids

Constructor Detail

Cacheback to summary
private Cache()