Class MetadataEvent
java.lang.Object
jdk.jfr.consumer.MetadataEvent
Event that contains information about event types and configurations.
- Since:
- 16
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of added event types since the last metadata event.Returns a list of configurations.Returns a list of the current event types being used.Returns a list of removed event types since the last metadata event.
-
Method Details
-
getEventTypes
-
getAddedEventTypes
Returns a list of added event types since the last metadata event.The delta will be from the last metadata event. If no metadata event has been emitted earlier, all known event types will be in the list.
- Returns:
- an immutable list of added event types, not
null
-
getRemovedEventTypes
-
getConfigurations
Returns a list of configurations.- Returns:
- an immutable list of configurations, not
null
-