public static enum TraceType.Gather extends java.lang.Enum<TraceType.Gather>
| Enum Constant and Description |
|---|
CALLER
Normal Ruby-style backtrace, showing only Ruby and core class methods.
|
FULL
A backtrace with interpreted frames intact, but don't remove Java frames.
|
INTEGRATED
A normal Ruby-style backtrace, but which includes any non-org.jruby frames
|
NORMAL
Normal Ruby-style backtrace, showing only Ruby and core class methods.
|
RAW
Full raw backtraces with all Java frames included.
|
| Modifier and Type | Method and Description |
|---|---|
BacktraceData |
getBacktraceData(ThreadContext context)
Gather current-stack backtrace data for a normal Ruby trace.
|
abstract BacktraceData |
getBacktraceData(ThreadContext context,
java.util.stream.Stream<com.headius.backport9.stack.StackWalker.StackFrame> javaTrace) |
BacktraceData |
getIntegratedBacktraceData(ThreadContext context,
java.lang.StackTraceElement[] javaTrace)
Gather backtrace data for an integrated trace if the current gather type is "NORMAL", otherwise use the
current gather type.
|
static TraceType.Gather |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TraceType.Gather[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceType.Gather RAW
public static final TraceType.Gather FULL
public static final TraceType.Gather INTEGRATED
public static final TraceType.Gather NORMAL
public static final TraceType.Gather CALLER
public static TraceType.Gather[] values()
for (TraceType.Gather c : TraceType.Gather.values()) System.out.println(c);
public static TraceType.Gather valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic BacktraceData getBacktraceData(ThreadContext context)
context - public BacktraceData getIntegratedBacktraceData(ThreadContext context, java.lang.StackTraceElement[] javaTrace)
context - javaTrace - public abstract BacktraceData getBacktraceData(ThreadContext context, java.util.stream.Stream<com.headius.backport9.stack.StackWalker.StackFrame> javaTrace)
Copyright © 2001-2020 JRuby. All Rights Reserved.