- java.lang.Object
-
- jdk.jfr.consumer.RecordedObject
-
- jdk.jfr.consumer.RecordedStackTrace
-
public final class RecordedStackTrace extends RecordedObject
A recorded stack trace.- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RecordedFrame>
getFrames()
Returns the frames in the stack trace.boolean
isTruncated()
Returns if the stack trace has been truncated due to it's size.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class jdk.jfr.consumer.RecordedObject
getFields, getValue, hasField, toString
-
-
-
-
Method Detail
-
getFrames
public List<RecordedFrame> getFrames()
Returns the frames in the stack trace.- Returns:
- a list of Java stack frames, not
null
-
isTruncated
public boolean isTruncated()
Returns if the stack trace has been truncated due to it's size.- Returns:
true
if stack trace has been truncated,false
otherwise
-
-