クラス jdk.jfr.EventSettingsの
使用
-
EventSettingsを使用するパッケージ パッケージ 説明 jdk.jfr このパッケージには、イベントを作成してFlight Recorderを制御するためのクラスが含まれています。 -
-
jdk.jfrでのEventSettingsの使用
EventSettingsを戻すjdk.jfrのメソッド 修飾子と型 メソッド 説明 EventSettingsRecording. disable(Class<? extends Event> eventClass)イベントを無効にします。EventSettingsRecording. disable(String name)指定された名前のイベントを無効にします。EventSettingsRecording. enable(Class<? extends Event> eventClass)イベントを有効にします。EventSettingsRecording. enable(String name)指定された名前のイベントを有効にします。abstract EventSettingsEventSettings. with(String name, String value)このイベント設定に関連するイベントの設定値を設定します。EventSettingsEventSettings. withoutStackTrace()このイベント設定に関連付けられたイベントのスタック・トレースを無効にします。EventSettingsEventSettings. withoutThreshold()しきい値を使用しない場合の簡易なメソッド。EventSettingsEventSettings. withPeriod(Duration duration)このイベント設定に関連するイベントの期間を設定します。EventSettingsEventSettings. withStackTrace()このイベント設定に関連付けられたイベントのスタック・トレースを有効にします。EventSettingsEventSettings. withThreshold(Duration duration)このイベント設定に関連するイベントのしきい値を設定します。
-