Uses of Class
jdk.jfr.EventSettings
-
Packages that use EventSettings 软件包 描述 jdk.jfr 该软件包提供了用于创建事件和控制Flight Recorder的类。 -
-
Uses of EventSettings in jdk.jfr
Methods in jdk.jfr that return EventSettings 变量和类型 方法 描述 EventSettings
Recording. disable(类<? extends Event> eventClass)
禁用事件。EventSettings
Recording. disable(String name)
禁用具有指定名称的事件。EventSettings
Recording. enable(类<? 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)
设置与此事件设置关联的事件的阈值。
-