Module jdk.jfr
Package jdk.jfr

Annotation Interface Registered


@Target(TYPE) @Inherited @Retention(RUNTIME) public @interface Registered
Event annotation, for programmatic event registration.

Events are automatically registered when they are first used. This annotation can be used to override that registration. To register events programmatically, use FlightRecorder.register(Class).

Since:
9