io.quarkus.cache.runtime.CacheBuildConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-cache Show documentation
Show all versions of quarkus-cache Show documentation
Enable application data caching in CDI beans
package io.quarkus.cache.runtime;
import static io.quarkus.runtime.annotations.ConfigPhase.BUILD_AND_RUN_TIME_FIXED;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;
@ConfigRoot(phase = BUILD_AND_RUN_TIME_FIXED)
@ConfigMapping(prefix = "quarkus.cache")
public interface CacheBuildConfig {
String CAFFEINE_CACHE_TYPE = "caffeine";
/**
* Cache type.
*/
@WithDefault(CAFFEINE_CACHE_TYPE)
String type();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy