Annotation Type Cache
Place this on any POJO entity class to cause it to be cached in the memcache.
- Author:
- Jeff Schnitzer <[email protected]>
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
Number of seconds after which the cached copy should be expired; the default value (0) is "keep as long as possible".
-
Element Details
-
expirationSeconds
int expirationSecondsNumber of seconds after which the cached copy should be expired; the default value (0) is "keep as long as possible". This is not a guarantee; the memcache can be wiped at any time due to memory pressure or the whim of Google's operations team.- Default:
- 0
-