Class ThreadGroup
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v0.factories.ThreadGroup
-
- All Implemented Interfaces:
java.lang.Comparable<ThreadGroup>
,IMCThreadGroup
final class ThreadGroup extends java.lang.Object implements IMCThreadGroup, java.lang.Comparable<ThreadGroup>
A thread group.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
m_name
-
Constructor Summary
Constructors Constructor Description ThreadGroup(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ThreadGroup o)
boolean
equals(java.lang.Object obj)
java.lang.String
getName()
Returns the name of the thread group.IMCThreadGroup
getParent()
Returns the parent of this thread group.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IMCThreadGroup
Returns the name of the thread group.- Specified by:
getName
in interfaceIMCThreadGroup
- Returns:
- the name of the thread group, or
null
if the information is not available
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getParent
public IMCThreadGroup getParent()
Description copied from interface:IMCThreadGroup
Returns the parent of this thread group.- Specified by:
getParent
in interfaceIMCThreadGroup
- Returns:
- the parent of this thread group, or
null
if the group has no parent
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(ThreadGroup o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ThreadGroup>
-
-