Package play.cache

Annotation Type Cached

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String key
      The cache key to store the result in
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int duration
      The duration the action should be cached for.
    • Element Detail

      • key

        String key
        The cache key to store the result in
        Returns:
        the cache key
      • duration

        int duration
        The duration the action should be cached for. Defaults to 0.
        Returns:
        the duration
        Default:
        0