Package org.openjdk.jmc.common
Interface IMCStackTrace
- All Known Implementing Classes:
MCStackTrace
public interface IMCStackTrace
Interface for classes that represents stack traces in Mission Control.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Information about the truncation state of the stack trace. -
Method Summary
Modifier and TypeMethodDescriptionReturn the frames that this stack trace consist of.Returns the truncation state of the stack trace.
-
Method Details
-
getFrames
Return the frames that this stack trace consist of. The frames are ordered from top frame to root frame.- Returns:
- the frames
-
getTruncationState
IMCStackTrace.TruncationState getTruncationState()Returns the truncation state of the stack trace.To easily check if the stack trace is truncated you can use the
IMCStackTrace.TruncationState.isTruncated()
method. For example:mytrace.getTruncationState().isTruncated()
.- Returns:
- the truncation state
-