Uses of Class
jdk.jfr.consumer.RecordedEvent
Package
Description
This package contains classes for consuming Flight Recorder data.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).
-
Uses of RecordedEvent in jdk.jfr.consumer
Modifier and TypeMethodDescriptionRecordingFile.readEvent()
Reads the next event in the recording.Modifier and TypeMethodDescriptionstatic List
<RecordedEvent> RecordingFile.readAllEvents
(Path path) Returns a list of all events in a file.Modifier and TypeMethodDescriptionvoid
EventStream.onEvent
(String eventName, Consumer<RecordedEvent> action) Registers an action to perform on all events matching a name.void
EventStream.onEvent
(Consumer<RecordedEvent> action) Registers an action to perform on all events in the stream.void
RecordingStream.onEvent
(String eventName, Consumer<RecordedEvent> action) void
RecordingStream.onEvent
(Consumer<RecordedEvent> action) void
RecordingFile.write
(Path destination, Predicate<RecordedEvent> filter) Filter out events and write them to a new file. -
Uses of RecordedEvent in jdk.management.jfr
Modifier and TypeMethodDescriptionvoid
RemoteRecordingStream.onEvent
(String eventName, Consumer<RecordedEvent> action) void
RemoteRecordingStream.onEvent
(Consumer<RecordedEvent> action)