Package org.openjdk.jmc.common
Interface IMCStackTrace
-
- All Known Implementing Classes:
MCStackTrace
public interface IMCStackTraceInterface for classes that represents stack traces in Mission Control.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIMCStackTrace.TruncationStateInformation about the truncation state of the stack trace.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends IMCFrame>getFrames()Return the frames that this stack trace consist of.IMCStackTrace.TruncationStategetTruncationState()Returns the truncation state of the stack trace.
-
-
-
Method Detail
-
getFrames
List<? extends IMCFrame> 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
-
-