@Configuration
@EnableCaching
public class RedisConfiguration
extends org.springframework.cache.annotation.CachingConfigurerSupport
| Constructor and Description |
|---|
RedisConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cache.CacheManager |
cacheManager() |
org.springframework.cache.interceptor.CacheErrorHandler |
errorHandler() |
org.springframework.cache.interceptor.KeyGenerator |
keyGenerator() |
org.springframework.data.redis.core.RedisTemplate<String,Object> |
redisTemplate(org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory) |
@Bean public org.springframework.cache.interceptor.KeyGenerator keyGenerator()
keyGenerator in interface org.springframework.cache.annotation.CachingConfigurerkeyGenerator in class org.springframework.cache.annotation.CachingConfigurerSupport@Bean public org.springframework.cache.CacheManager cacheManager()
cacheManager in interface org.springframework.cache.annotation.CachingConfigurercacheManager in class org.springframework.cache.annotation.CachingConfigurerSupport@Bean public org.springframework.data.redis.core.RedisTemplate<String,Object> redisTemplate(org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory)
@Bean public org.springframework.cache.interceptor.CacheErrorHandler errorHandler()
errorHandler in interface org.springframework.cache.annotation.CachingConfigurererrorHandler in class org.springframework.cache.annotation.CachingConfigurerSupportCopyright © 2018. All rights reserved.