程序包的使用
org.springframework.cache.annotation
使用org.springframework.cache.annotation的程序包 程序包 说明 org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.cache.aspectj org.springframework.cache.jcache.config Support package for declarative JSR-107 caching configuration.org.springframework.cache.annotation使用的org.springframework.cache.annotation中的类 类 说明 AbstractCachingConfiguration Abstract base@Configurationclass providing common structure for enabling Spring's annotation-driven cache management capability.AnnotationCacheOperationSource.CacheOperationProvider Callback interface providingCacheOperationinstance(s) based on a givenCacheAnnotationParser.Cacheable Annotation indicating that the result of invoking a method (or all methods in a class) can be cached.CacheAnnotationParser Strategy interface for parsing known caching annotation types.CacheEvict Annotation indicating that a method (or all methods on a class) triggers acache evictoperation.CachePut Annotation indicating that a method (or all methods on a class) triggers acache putoperation.CachingConfigurer 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.org.springframework.cache.aspectj使用的org.springframework.cache.annotation中的类 类 说明 AbstractCachingConfiguration Abstract base@Configurationclass providing common structure for enabling Spring's annotation-driven cache management capability.org.springframework.cache.jcache.config使用的org.springframework.cache.annotation中的类 类 说明 AbstractCachingConfiguration Abstract base@Configurationclass providing common structure for enabling Spring's annotation-driven cache management capability.CachingConfigurer 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.CachingConfigurerSupport An implementation ofCachingConfigurerwith empty methods allowing sub-classes to override only the methods they're interested in.