Uses of Class
jdk.jfr.Event JAVA
Packages that use Event
Package
Description
This package provides classes to create events and control Flight Recorder.
This package contains classes for consuming Flight Recorder data.
-
Uses of Event in jdk.jfr
Modifier and TypeMethodDescriptionEventFactory.newEvent()
Instantiates an event, so it can be populated with data and written to the Flight Recorder system.Modifier and TypeMethodDescriptionstatic void
FlightRecorder.addPeriodicEvent
(Class<? extends Event> eventClass, Runnable hook) Adds a hook for a periodic event.Disables event.Enables event.static EventType
EventType.getEventType
(Class<? extends Event> eventClass) Returns the event type for an event class, ornull
if it doesn't exist.static void
Registers an event class.static void
FlightRecorder.unregister
(Class<? extends Event> eventClass) Unregisters an event class. -
Uses of Event in jdk.jfr.consumer
Method parameters in jdk.jfr.consumer with type arguments of type EventModifier and TypeMethodDescriptionDisables event.Enables event.