Annotation Type Cached


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface Cached
Can mark a method (or all methods) of a service as being cached in the LocalCache.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    long
     
  • Element Details

    • timeout

      long timeout
      Returns:
      the cache ttl in milliseconds.
      Default:
      2147483647L