Class StructTypes.JfrStackTrace
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v1.StructTypes.JfrStackTrace
-
- All Implemented Interfaces:
IMCStackTrace
- Enclosing class:
- StructTypes
static class StructTypes.JfrStackTrace extends java.lang.Object implements IMCStackTrace
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openjdk.jmc.common.IMCStackTrace
IMCStackTrace.TruncationState
-
-
Constructor Summary
Constructors Constructor Description JfrStackTrace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<? extends IMCFrame>
getFrames()
Return the frames that this stack trace consist of.IMCStackTrace.TruncationState
getTruncationState()
Returns the truncation state of the stack trace.int
hashCode()
-
-
-
Method Detail
-
getFrames
public java.util.List<? extends IMCFrame> getFrames()
Description copied from interface:IMCStackTrace
Return the frames that this stack trace consist of. The frames are ordered from top frame to root frame.- Specified by:
getFrames
in interfaceIMCStackTrace
- Returns:
- the frames
-
getTruncationState
public IMCStackTrace.TruncationState getTruncationState()
Description copied from interface:IMCStackTrace
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()
.- Specified by:
getTruncationState
in interfaceIMCStackTrace
- Returns:
- the truncation state
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-