Annotation Type Memoized


@Retention(RUNTIME) @Target(METHOD) public @interface Memoized
Annotates a method without arguments (Presumably non-deterministic) to make it return the memoized value of a previous execution instead of recalculating it.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      String value
      Returns:
      An ISO-8601 duration for which to memoize the result of the method