Module jdk.jfr
Package jdk.jfr

Annotation Interface Timespan


@Retention(RUNTIME) @Target({FIELD,TYPE,METHOD}) public @interface Timespan
Event field annotation, specifies that the value is a duration.

If the annotated value equals Long.MAX_VALUE, it represents forever.

Since:
9