程序包 cn.taketoday.cache.annotation
@NonNullApi
@NonNullFields
package cn.taketoday.cache.annotation
Annotations and supporting classes for declarative cache management.
Hooked into Framework's cache interception infrastructure via
CacheOperationSource.-
类说明Abstract base
@Configurationclass providing common structure for enabling Framework's annotation-driven cache management capability.Implementation of theCacheOperationSourceinterface for working with caching metadata in annotation format.Callback interface providingCacheOperationinstance(s) based on a givenCacheAnnotationParser.Annotation indicating that the result of invoking a method (or all methods in a class) can be cached.Strategy interface for parsing known caching annotation types.@CacheConfigprovides a mechanism for sharing common cache-related settings at the class level.Annotation indicating that a method (or all methods on a class) triggers acache evictoperation.Annotation indicating that a method (or all methods on a class) triggers acache putoperation.Group annotation for multiple cache annotations (of different or the same type).Selects which implementation ofAbstractCachingConfigurationshould be used based on the value ofEnableCaching.mode()on the importing@Configurationclass.Interface to be implemented by @Configurationclasses annotated with @EnableCachingthat wish or need to specify explicitly how caches are resolved and how keys are generated for annotation-driven cache management.Strategy implementation for parsing Framework'sCaching,Cacheable,CacheEvict, andCachePutannotations.Enables Framework's annotation-driven cache management capability, similar to the support found in Framework's<cache:*>XML namespace.@Configurationclass that registers the Framework infrastructure beans necessary to enable proxy-based annotation-driven cache management.