Uses of Class
jdk.jfr.EventSettings
| Package | Description |
|---|---|
| jdk.jfr |
This package provides classes to create events and control Flight Recorder.
|
| jdk.jfr.consumer |
This package contains classes for consuming Flight Recorder data.
|
-
Uses of EventSettings in jdk.jfr
Methods in jdk.jfr that return EventSettings Modifier and Type Method Description EventSettingsRecording. disable(Class<? extends Event> eventClass)Disables event.EventSettingsRecording. disable(String name)Disables event with the specified name.EventSettingsRecording. enable(Class<? extends Event> eventClass)Enables event.EventSettingsRecording. enable(String name)Enables the event with the specified name.abstract EventSettingsEventSettings. with(String name, String value)Sets a setting value for the event that is associated with this event setting.EventSettingsEventSettings. withoutStackTrace()Disables stack traces for the event that is associated with this event setting.EventSettingsEventSettings. withoutThreshold()Specifies that a threshold is not used.EventSettingsEventSettings. withPeriod(Duration duration)Sets the interval for the event that is associated with this event setting.EventSettingsEventSettings. withStackTrace()Enables stack traces for the event that is associated with this event setting.EventSettingsEventSettings. withThreshold(Duration duration)Sets the threshold for the event that is associated with this event setting. -
Uses of EventSettings in jdk.jfr.consumer
Methods in jdk.jfr.consumer that return EventSettings Modifier and Type Method Description EventSettingsRecordingStream. disable(Class<? extends Event> eventClass)Disables event.EventSettingsRecordingStream. disable(String name)Disables event with the specified name.EventSettingsRecordingStream. enable(Class<? extends Event> eventClass)Enables event.EventSettingsRecordingStream. enable(String name)Enables the event with the specified name.