类 RedisConfiguration
java.lang.Object
org.springframework.cache.annotation.CachingConfigurerSupport
io.github.mangocrisp.spring.taybct.tool.core.redis.RedisConfiguration
- 所有已实现的接口:
org.springframework.cache.annotation.CachingConfigurer
@EnableConfigurationProperties(org.springframework.boot.autoconfigure.cache.CacheProperties.class)
@AutoConfiguration
@EnableCaching
@ConditionalOnClass(org.springframework.data.redis.core.RedisTemplate.class)
public class RedisConfiguration
extends org.springframework.cache.annotation.CachingConfigurerSupport
redis配置
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.cache.CacheManager
cacheManager
(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) org.springframework.aop.support.DefaultPointcutAdvisor
cacheTimeOutPointcutAdvisor
(org.springframework.data.redis.core.RedisTemplate<String, Object> redisTemplate) org.springframework.data.redis.core.script.DefaultRedisScript<Long>
<K,
V> org.springframework.data.redis.core.RedisTemplate<K, V> redisTemplate
(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) sysParamsObtainService
(org.springframework.data.redis.core.RedisTemplate<String, Object> redisTemplate, PropertyParams propertyParams) 从类继承的方法 org.springframework.cache.annotation.CachingConfigurerSupport
cacheManager, cacheResolver, errorHandler, keyGenerator
-
构造器详细资料
-
RedisConfiguration
public RedisConfiguration()
-
-
方法详细资料
-
redisTemplate
@Bean public <K,V> org.springframework.data.redis.core.RedisTemplate<K,V> redisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) -
limitScript
-
cacheManager
@Bean @ConditionalOnMissingBean public org.springframework.cache.CacheManager cacheManager(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) -
cacheTimeOutPointcutAdvisor
-
sysParamsObtainService
@Bean public ISysParamsObtainService sysParamsObtainService(org.springframework.data.redis.core.RedisTemplate<String, Object> redisTemplate, PropertyParams propertyParams)
-