Package org.openjdk.jmc.common
Interface IMCThread
-
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.LonggetThreadId()Returns the java thread id.StringgetThreadName()Returns the java thread name.
-
-
-
Method Detail
-
getThreadId
Long getThreadId()
Returns the java thread id.- Returns:
- the java thread id, or
nullif not available
-
getThreadName
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.
-
-