类 RedisConfigurer
java.lang.Object
cn.hamm.airpower.auto.RedisConfigurer
- 所有已实现的接口:
org.springframework.cache.annotation.CachingConfigurer
@Configuration
@EnableCaching
public class RedisConfigurer
extends Object
implements org.springframework.cache.annotation.CachingConfigurer
Redis配置
- 作者:
- Hamm.cn
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.cache.CacheManagerorg.springframework.cache.interceptor.CacheResolverorg.springframework.cache.interceptor.KeyGenerator从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.cache.annotation.CachingConfigurer
errorHandler
-
构造器详细资料
-
RedisConfigurer
public RedisConfigurer()
-
-
方法详细资料
-
cacheManager
@Bean public org.springframework.cache.CacheManager cacheManager()- 指定者:
cacheManager在接口中org.springframework.cache.annotation.CachingConfigurer
-
keyGenerator
@Bean public org.springframework.cache.interceptor.KeyGenerator keyGenerator()- 指定者:
keyGenerator在接口中org.springframework.cache.annotation.CachingConfigurer
-
cacheResolver
@Bean public org.springframework.cache.interceptor.CacheResolver cacheResolver()- 指定者:
cacheResolver在接口中org.springframework.cache.annotation.CachingConfigurer
-