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.
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Returns:
- A duration in ISO-8601 format that indicated the amount of time before this cache is invalidated.
-
-
-
type
Cached.Type type- Returns:
- The type of cache invalidation strategy to use, whether to invalidate on expired duration after last insertion or on expiration after last access
- Default:
- LAST_INSERTED
-