Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2288

Improve JavaDoc clarity for @Cached annotation.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:

      Description

      The JavaDoc for the @Cached annotation:

      https://github.com/apache/tapestry-5/blob/master/tapestry-core/src/main/java/org/apache/tapestry5/annotations/Cached.java

      Says:

      "Indicates that a method should only be evaluated once and the result cached. All further calls to the method will return the cached result."

      This implies the value is cached forever, but this link says per-request:

      http://tapestry.apache.org/component-cheat-sheet.html

      Please correct the JavaDoc or cheat sheet to specify the actual cached duration (forever, session, request, etc).

      Thanks!

        Attachments

          Activity

            People

            • Assignee:
              bobharner Bob Harner
              Reporter:
              blacknext Michael Gentry
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: