@Configuration
@AutoConfigureAfter(value=org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class)
@ConditionalOnBean(value=org.springframework.data.redis.connection.RedisConnectionFactory.class)
@EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.cache.CacheProperties.class)
public class RedisCacheAutoConfiguration
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
private org.springframework.boot.autoconfigure.cache.CacheProperties |
cacheProperties |
private org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers |
customizerInvoker |
private org.springframework.data.redis.cache.RedisCacheConfiguration |
redisCacheConfiguration |
| 构造器和说明 |
|---|
RedisCacheAutoConfiguration(org.springframework.boot.autoconfigure.cache.CacheProperties cacheProperties,
org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers customizerInvoker,
org.springframework.beans.factory.ObjectProvider<org.springframework.data.redis.cache.RedisCacheConfiguration> redisCacheConfiguration) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.data.redis.cache.RedisCacheManager |
cacheManager(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory,
org.springframework.core.io.ResourceLoader resourceLoader) |
private org.springframework.data.redis.cache.RedisCacheConfiguration |
determineConfiguration(java.lang.ClassLoader classLoader) |
private final org.springframework.boot.autoconfigure.cache.CacheProperties cacheProperties
private final org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers customizerInvoker
@Nullable private final org.springframework.data.redis.cache.RedisCacheConfiguration redisCacheConfiguration
RedisCacheAutoConfiguration(org.springframework.boot.autoconfigure.cache.CacheProperties cacheProperties,
org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers customizerInvoker,
org.springframework.beans.factory.ObjectProvider<org.springframework.data.redis.cache.RedisCacheConfiguration> redisCacheConfiguration)
@Bean
@Primary
public org.springframework.data.redis.cache.RedisCacheManager cacheManager(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory,
org.springframework.core.io.ResourceLoader resourceLoader)
private org.springframework.data.redis.cache.RedisCacheConfiguration determineConfiguration(java.lang.ClassLoader classLoader)
Copyright © 2024 pig4cloud. All rights reserved.