Annotation Type Cached


@Retention(RUNTIME) @Target(METHOD) public @interface Cached
Ensures that the method is cached, where the key is a parameter annotated with @CacheKey and the value is the result of the method. Takes a value, a string that represents the duration in ISO-8601 format. Takes a Cached.Type enum, that designates whether to invalidate cache on duration elapsed since insertion or since last access.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description