Annotation Interface Cache
Cache annotation to set the caching policy of Actions.
-
Optional Element Summary
Optional Elements
-
Element Details
-
keys
String[] keysCache keys (names of the key values in input JSON map, eg "userID")- Returns:
- cache keys
- Default:
{}
-
ttl
int ttlTime To Live (TTL) of entry, in seconds.- Returns:
- ttl in seconds (0 = never expires / use cache's default TTL)
- Default:
0
-