APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.jfr.consumer

public final Class RecordedThreadGroup

extends RecordedObject
Class Inheritance
Imports
jdk.jfr.internal.consumer.ObjectContext

A recorded Java thread group.
Since
9

Field Summary

Inherited from jdk.jfr.consumer.RecordedObject:
INTEGER_MINUS_ONEINTEGER_ZEROLONG_MINUS_ONEobjectContextobjects

Constructor Summary

AccessConstructor and Description
pack-priv
RecordedThreadGroup(ObjectContext objectContext, Object[] values)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the thread group name, or null if doesn't exist
getName
()

Returns the name of the thread group, or null if doesn't exist.

public RecordedThreadGroup

Returns:

parent thread group, or null if it doesn't exist
getParent
()

Returns the parent thread group, or null if it doesn't exist.

Inherited from jdk.jfr.consumer.RecordedObject:
getBooleangetBytegetChargetClassgetDoublegetDurationgetFieldsgetFloatgetInstantgetIntgetLonggetShortgetStringgetThreadgetTypedgetValuehasFieldobjectAttoString

Constructor Detail

RecordedThreadGroupback to summary
pack-priv RecordedThreadGroup(ObjectContext objectContext, Object[] values)

Method Detail

getNameback to summary
public String getName()

Returns the name of the thread group, or null if doesn't exist.

Returns:String

the thread group name, or null if doesn't exist

getParentback to summary
public RecordedThreadGroup getParent()

Returns the parent thread group, or null if it doesn't exist.

Returns:RecordedThreadGroup

parent thread group, or null if it doesn't exist