Annotation Type Cacheable

    • 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 cacheName() } string literal or groovy template for computing the cacheName dynamically.
    • Element Detail

      • value

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

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

        String key
        string literal or groovy template for computing the key dynamically. e.g. groovy templates: "$subscriptionId" , "$subscriptionId-$clusterId", "${this.subscriptionId}"
        Default:
        "<cache>"
      • condition

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