APIdia Launch Partner
Top Description Fields Methods
jdk.jfr

public @Interface StackTrace

extends Annotation
Annotations
@MetadataDefinition
@Target:TYPE
@Inherited
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Inherited, .Retention, .RetentionPolicy, .Target

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

Field Summary

Modifier and TypeField and Description
public static final String
NAME

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

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the stack trace should be recorded, false otherwise
value
()

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

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Field Detail

NAMEback to summary
public static final String NAME

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

Method Detail

valueback to summary
public boolean value()

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

Returns:boolean

true if the stack trace should be recorded, false otherwise