Annotation Type CacheEvict

    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static String ALL  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String cacheName
      string literal or groovy template for computing the cacheName dynamically.
      String condition
      groovy expression used for making the method caching conditional.
      String key
      string literal or groovy template for computing the key dynamically.
      String value
      alias of Cacheable.cacheName() } string literal or groovy template for computing the cacheName dynamically.
    • Field Detail

      • ALL

        static final String ALL
    • Element Detail

      • value

        String value
        alias of Cacheable.cacheName() } string literal or groovy template for computing the cacheName dynamically. e.g. groovy templates: "$subscriptionId" , "$subscriptionId-$clusterId", "${this.subscriptionId}" ALL to evict all caches.
        Default:
        ""
      • cacheName

        String cacheName
        string literal or groovy template for computing the cacheName dynamically. e.g. groovy templates: "$subscriptionId" , "$subscriptionId-$clusterId", "${this.subscriptionId}" ALL to evict all caches.
        Default:
        ""
      • key

        String key
        string literal or groovy template for computing the key dynamically. e.g. groovy templates: "$subscriptionId" , "$subscriptionId-$clusterId", "${this.subscriptionId}" ALL to evict all the cache entries of the named cache .
        Default:
        ""
      • condition

        String condition
        groovy expression used for making the method caching conditional. e.g. groovy expression: "this.isLoading()" "this.loading" , "this.subscriptionId=='xxx'"
        Default:
        ""