@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.CachingConfigurer
keyGenerator
in class org.springframework.cache.annotation.CachingConfigurerSupport
@Bean public org.springframework.cache.CacheManager cacheManager()
cacheManager
in interface org.springframework.cache.annotation.CachingConfigurer
cacheManager
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.CachingConfigurer
errorHandler
in class org.springframework.cache.annotation.CachingConfigurerSupport
Copyright © 2018. All rights reserved.