Annotation Interface CacheInvalidateAll


@InterceptorBinding @Target({TYPE,METHOD}) @Retention(RUNTIME) @Repeatable(List.class) @Deprecated(forRemoval=true) public @interface CacheInvalidateAll
Deprecated, for removal: This API element is subject to removal in a future version.
Use Infinispan Cache Extension
When a method annotated with CacheInvalidateAll is invoked, Quarkus will remove all entries from the Infinispan cache.

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 Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    The name of the cache.
  • Element Details

    • cacheName

      String cacheName
      Deprecated, for removal: This API element is subject to removal in a future version.
      The name of the cache.