## Uses of Class
jdk.jfr.EventSettings

- Packages that use EventSettings
  Package | Description
  --- | ---
  jdk.jfr | This package provides classes to create events and control Flight Recorder.

- - ### Uses of EventSettings in jdk.jfr

    Methods in jdk.jfr that return EventSettings
    Modifier and Type | Method | Description
    --- | --- | ---
    `EventSettings` | Recording.`disable​(Class<? extends Event> eventClass)` | Disables event.
    `EventSettings` | Recording.`disable​(String name)` | Disables event with the specified name.
    `EventSettings` | Recording.`enable​(Class<? extends Event> eventClass)` | Enables event.
    `EventSettings` | Recording.`enable​(String name)` | Enables the event with the specified name.
    `abstract EventSettings` | EventSettings.`with​(String name, String value)` | Sets a setting value for the event that is associated with this event setting.
    `EventSettings` | EventSettings.`withoutStackTrace()` | Disables stack traces for the event that is associated with this event setting.
    `EventSettings` | EventSettings.`withoutThreshold()` | Specifies that a threshold is not used.
    `EventSettings` | EventSettings.`withPeriod​(Duration duration)` | Sets the interval for the event that is associated with this event setting.
    `EventSettings` | EventSettings.`withStackTrace()` | Enables stack traces for the event that is associated with this event setting.
    `EventSettings` | EventSettings.`withThreshold​(Duration duration)` | Sets the threshold for the event that is associated with this event setting.