Uses of Class jdk.jfr.consumer.MetadataEvent (Java SE 26 & JDK 26)
Description: use: module: jdk.jfr, package: jdk.jfr.consumer, class: MetadataEvent

# Uses of Class
jdk.jfr.consumer.MetadataEvent

Packages that use MetadataEvent
Package
Description
jdk.jfr.consumer
This package contains classes for consuming Flight Recorder data.

- ## Uses of MetadataEvent in jdk.jfr.consumer

  Method parameters in jdk.jfr.consumer with type arguments of type MetadataEvent
  Modifier and Type
  Method
  Description
  `default void`
  EventStream.`onMetadata(Consumer<MetadataEvent> action)`
  Registers an action to perform when new metadata arrives in the stream.
  `void`
  RecordingStream.`onMetadata(Consumer<MetadataEvent> action)`
  Registers an action to perform when new metadata arrives in the stream.