Package io.micronaut.cache.annotation
Contains cache annotations in Micronaut.
- Since:
- 1.0
-
Annotation Types Summary Annotation Type Description Cacheable An annotation that can be applied at the type or method level to indicate that the return value of the method should be cached for the configuredCacheable.cacheNames()
.CacheAnnotation Meta annotation to mark cache operations.CacheConfig An annotation that can be used on either a type or an annotation stereotype to configure common caching behaviour.CacheInvalidate An annotation that can be applied at the type or method level to indicate that the annotated operation should cause the eviction of the given caches.CachePut An annotation that can be applied at the type or method level to indicate that the annotated operation should cause the return value to be cached within the given cache name.InvalidateOperations Allows for repeated annotations of the typeCacheInvalidate
.PutOperations Allows for repeated annotations of the typeCachePut
.