Annotation Type StackTrace

@Target(TYPE)
@Inherited
@Retention(RUNTIME)
public @interface StackTrace

Event annotation, determines whether an event by default has a stack trace or not.

Since:
9

Fields

Modifier and Type Fields Description
static String NAME

Settings name "stackTrace" to be used for enabling event stack traces.

Optional Elements

Modifier and Type Optional Element Description
boolean value

Returns if the stack trace from the Event#commit() method should be recorded.

Fields

NAME

static final String NAME

Settings name "stackTrace" to be used for enabling event stack traces.

Elements

value

boolean value

Returns if the stack trace from the Event#commit() method should be recorded.

Returns:
true if the stack trace should be recorded, false otherwise
Default:
true

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.jfr/jdk/jfr/StackTrace.html