Annotation Interface CacheAdd
Never get the value from cache, get it from method and cache the result.
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionlong
The number of milliseconds until the cache entry expires.
-
Element Details
-
ttl
long ttlThe number of milliseconds until the cache entry expires.- Returns:
- the number of milliseconds until the cache entry expires
- Default:
0L
-