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.Object
group
java.lang.Object
javaName
java.lang.Object
javaThreadId
java.lang.Object
osName
java.lang.Object
osThreadId
-
Constructor Summary
Constructors Constructor Description JfrThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
IMCThreadGroup
getThreadGroup()
Returns the thread group this thread belongs to.java.lang.Long
getThreadId()
Returns the java thread id.java.lang.String
getThreadName()
Returns the java thread name.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getThreadId
public java.lang.Long getThreadId()
Description copied from interface:IMCThread
Returns the java thread id.- Specified by:
getThreadId
in interfaceIMCThread
- Returns:
- the java thread id, or
null
if not available
-
getThreadName
public java.lang.String getThreadName()
Description copied from interface:IMCThread
Returns the java thread name.- Specified by:
getThreadName
in interfaceIMCThread
- Returns:
- the java thread name, or
null
if not available
-
getThreadGroup
public IMCThreadGroup getThreadGroup()
Description copied from interface:IMCThread
Returns the thread group this thread belongs to.- Specified by:
getThreadGroup
in interfaceIMCThread
- Returns:
- the thread group this thread belongs to, or
null
if it does not belong to a thread group or if the information is not available.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-