Package xyz.haff.aspektoj.annotations
Annotation Type Cached
Ensures that the method is cached, where the key is a parameter annotated with @CacheKey and the value is the result
of the method.
Takes a value, a string that represents the duration in ISO-8601 format.
Takes a Cached.Type enum, that designates whether to invalidate cache on duration elapsed since insertion or since
last access.
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value
-
-
-
type
Cached.Type type- Default:
- LAST_INSERTED
-