Package io.quarkus.infinispan.client
Annotation Interface CacheInvalidate
@InterceptorBinding
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Repeatable(List.class)
@Deprecated(forRemoval=true)
public @interface CacheInvalidate
Deprecated, for removal: This API element is subject to removal in a future version.
Use Infinispan Cache Extension
When a method annotated with
CacheInvalidate is 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 CacheResult annotation on a single method. Caching operations will always
be executed in the same order: CacheInvalidateAll first, then CacheInvalidate and finally
CacheResult.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDeprecated, for removal: This API element is subject to removal in a future version. -
Required Element Summary
Required Elements
-
Element Details
-
cacheName
String cacheNameDeprecated, for removal: This API element is subject to removal in a future version.The name of the cache.
-