Package play.cache
Annotation Type Cached
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface Cached
Mark an action to be cached on server side.- See Also:
CachedAction
-
-
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
-
-