
io.quarkus.cache.deployment.AdditionalCacheNameBuildItem Maven / Gradle / Ivy
package io.quarkus.cache.deployment;
import io.quarkus.builder.item.MultiBuildItem;
/**
* Build item used to ensure that a cache of the specified name is created at runtime.
*
* This is used in order to create caches when means other than the standard cache annotations are used.
*
* @deprecated Use {@link io.quarkus.cache.deployment.spi.AdditionalCacheNameBuildItem} instead. This build item will be removed
* at some time after Quarkus 3.0.
*/
@Deprecated(forRemoval = true)
public final class AdditionalCacheNameBuildItem extends MultiBuildItem {
private final String name;
public AdditionalCacheNameBuildItem(String name) {
this.name = name;
}
public String getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy