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
 java.lang.String key
           
 
Optional Element Summary
 int duration
           
 

Element Detail

key

public abstract java.lang.String key

duration

public abstract int duration
Default:
0