io.quarkus.cache.CacheKey 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;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* When a method argument is annotated with {@link CacheKey}, it is identified as a part of a cache key during an invocation of
* a method annotated with {@link CacheResult} or {@link CacheInvalidate}.
*
* This annotation is optional and should only be used when some of the method arguments are NOT part of the cache key.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface CacheKey {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy