All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.jfr.runtime.config.JfrRuntimeConfig Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.jfr.runtime.config;

import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;
import io.smallrye.config.WithName;

@ConfigMapping(prefix = "quarkus.jfr")
@ConfigRoot(phase = ConfigPhase.RUN_TIME)
public interface JfrRuntimeConfig {

    /**
     * If false, only quarkus-jfr events are not recorded even if JFR is enabled.
     * In this case, Java standard API and virtual machine information will be recorded according to the setting.
     * Default value is true
     */
    @WithDefault("true")
    boolean enabled();

    /**
     * If false, only REST events in quarkus-jfr are not recorded even if JFR is enabled.
     * In this case, other quarkus-jfr, Java standard API and virtual machine information will be recorded according to the
     * setting.
     * Default value is true
     */
    @WithName("rest.enabled")
    @WithDefault("true")
    boolean restEnabled();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy