|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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
The cache key to store the result in |
Optional Element Summary | |
---|---|
int |
duration
The duration the action should be cached for. |
Element Detail |
---|
public abstract java.lang.String key
public abstract int duration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |