Package org.openjdk.jmc.common
Interface IMCThread
-
- All Known Implementing Classes:
JfrThread,StructTypes.JfrThread
public interface IMCThreadClass for representing a thread in Mission Control.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getThreadId
java.lang.Long getThreadId()
Returns the java thread id.- Returns:
- the java thread id, or
nullif not available
-
getThreadName
java.lang.String getThreadName()
Returns the java thread name.- Returns:
- the java thread name, or
nullif not available
-
getThreadGroup
IMCThreadGroup getThreadGroup()
Returns the thread group this thread belongs to.- 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.
-
-