クラス jdk.jfr.EventSettingsの
使用
パッケージ | 説明 |
---|---|
jdk.jfr |
このパッケージは、イベントを作成してFlight Recorderを制御するクラスを提供します。
|
jdk.jfr.consumer |
このパッケージには、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)
このイベント設定に関連付けられているイベントのしきい値を設定します。 -
jdk.jfr.consumerでのEventSettingsの使用
EventSettingsを戻すjdk.jfr.consumerのメソッド 修飾子と型 メソッド 説明 EventSettings
RecordingStream. disable(Class<? extends Event> eventClass)
イベントを無効にします。EventSettings
RecordingStream. disable(String name)
指定された名前のイベントを無効にします。EventSettings
RecordingStream. enable(Class<? extends Event> eventClass)
イベントを有効にします。EventSettings
RecordingStream. enable(String name)
指定された名前のイベントを有効にします。