JavaScript is disabled on your browser.
play.cache

Annotation Type Cached



  • @Target(value={TYPE,METHOD})
    @Retention(value=RUNTIME)
    public @interface Cached
    Mark an action to be cached on server side.
    • Required Element Summary

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

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

      • key

        public abstract java.lang.String key
        The cache key to store the result in
      • duration

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

AltStyle によって変換されたページ (->オリジナル) /