クラス 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)
このイベント設定に関連付けられているイベントのしきい値を設定します。
-