Uses of Class
jdk.jfr.consumer.RecordedEvent
Packages that use RecordedEvent
包
描述
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
Methods in jdk.jfr.consumer that return RecordedEventMethods in jdk.jfr.consumer that return types with arguments of type RecordedEvent修饰符和类方法描述static List<RecordedEvent> RecordingFile.readAllEvents(Path path) Returns a list of all events in a file.Method parameters in jdk.jfr.consumer with type arguments of type RecordedEvent修饰符和类方法描述voidEventStream.onEvent(String eventName, Consumer<RecordedEvent> action) Registers an action to perform on all events matching a name.voidEventStream.onEvent(Consumer<RecordedEvent> action) Registers an action to perform on all events in the stream.voidRecordingStream.onEvent(String eventName, Consumer<RecordedEvent> action) voidRecordingStream.onEvent(Consumer<RecordedEvent> action) voidRecordingFile.write(Path destination, Predicate<RecordedEvent> filter) Filter out events and write them to a new file. -
Uses of RecordedEvent in jdk.management.jfr
Method parameters in jdk.management.jfr with type arguments of type RecordedEvent修饰符和类方法描述voidRemoteRecordingStream.onEvent(String eventName, Consumer<RecordedEvent> action) voidRemoteRecordingStream.onEvent(Consumer<RecordedEvent> action)