Class StructTypes.JfrThread
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v1.StructTypes.JfrThread
-
- All Implemented Interfaces:
IMCThread
- Enclosing class:
- StructTypes
static class StructTypes.JfrThread extends java.lang.Object implements IMCThread
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Objectgroupjava.lang.ObjectjavaNamejava.lang.ObjectjavaThreadIdjava.lang.ObjectosNamejava.lang.ObjectosThreadId
-
Constructor Summary
Constructors Constructor Description JfrThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)IMCThreadGroupgetThreadGroup()Returns the thread group this thread belongs to.java.lang.LonggetThreadId()Returns the java thread id.java.lang.StringgetThreadName()Returns the java thread name.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getThreadId
public java.lang.Long getThreadId()
Description copied from interface:IMCThreadReturns the java thread id.- Specified by:
getThreadIdin interfaceIMCThread- Returns:
- the java thread id, or
nullif not available
-
getThreadName
public java.lang.String getThreadName()
Description copied from interface:IMCThreadReturns the java thread name.- Specified by:
getThreadNamein interfaceIMCThread- Returns:
- the java thread name, or
nullif not available
-
getThreadGroup
public IMCThreadGroup getThreadGroup()
Description copied from interface:IMCThreadReturns the thread group this thread belongs to.- Specified by:
getThreadGroupin interfaceIMCThread- Returns:
- the thread group this thread belongs to, or
nullif it does not belong to a thread group or if the information is not available.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-