注释类型 CacheInvalidate


作者:
huangli
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    The name of this Cache instance which need a remove operation.
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    If you want to use multi backend cache system, you can setup multi "cache area" in configuration, this attribute specifies the name of the "cache area" you want to use.
    Expression script used for conditioning the cache operation, the operation is vetoed when evaluation result is false.
    Specify the key by expression script, optional.
    boolean
    If evaluated key is an array or an instance of java.lang.Iterable, set multi to true indicates jetcache to invalidate each element of the iterable keys.
  • 元素详细资料

    • name

      String name
      The name of this Cache instance which need a remove operation.
      返回:
      the name of the cache which need a remove operation
    • area

      String area
      If you want to use multi backend cache system, you can setup multi "cache area" in configuration, this attribute specifies the name of the "cache area" you want to use.
      返回:
      the name of cache area
      默认值:
      "default"
    • key

      String key
      Specify the key by expression script, optional. If not specified, use all parameters of the target method and keyConvertor to generate one.
      返回:
      an expression script which specifies key
      默认值:
      "$$undefined$$"
    • condition

      String condition
      Expression script used for conditioning the cache operation, the operation is vetoed when evaluation result is false. Evaluation occurs after real method invocation so we can refer #result in script.
      默认值:
      "$$undefined$$"
    • multi

      boolean multi
      If evaluated key is an array or an instance of java.lang.Iterable, set multi to true indicates jetcache to invalidate each element of the iterable keys.
      默认值:
      false