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 booleanequals(java.lang.Object obj)java.util.List<? extends IMCFrame>getFrames()Return the frames that this stack trace consist of.IMCStackTrace.TruncationStategetTruncationState()Returns the truncation state of the stack trace.inthashCode()
-
-
-
Method Detail
-
getFrames
public java.util.List<? extends IMCFrame> getFrames()
Description copied from interface:IMCStackTraceReturn the frames that this stack trace consist of. The frames are ordered from top frame to root frame.- Specified by:
getFramesin interfaceIMCStackTrace- Returns:
- the frames
-
getTruncationState
public IMCStackTrace.TruncationState getTruncationState()
Description copied from interface:IMCStackTraceReturns 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:
getTruncationStatein interfaceIMCStackTrace- Returns:
- the truncation state
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-