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