Package io.quarkus.infinispan.client
Annotation Type CacheInvalidate
-
@InterceptorBinding @Target({TYPE,METHOD}) @Retention(RUNTIME) @Repeatable(List.class) public @interface CacheInvalidate
When a method annotated withCacheInvalidateis invoked, Quarkus will use the method argument as key to try to remove an existing entry from the Infinispan cache. If the key does not identify any cache entry, nothing will happen.This annotation can be combined with
CacheResultannotation on a single method. Caching operations will always be executed in the same order:CacheInvalidateAllfirst, thenCacheInvalidateand finallyCacheResult.
-
-
Element Detail
-
cacheName
String cacheName
The name of the cache.
-
-