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

io.quarkus.cache.CacheKey Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
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