类 RedisCacheAutoConfiguration

java.lang.Object
com.sie.mbm.mom.framework.cache.config.RedisCacheAutoConfiguration

@Configuration @AutoConfigureAfter(org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class) @ConditionalOnBean(org.springframework.data.redis.connection.RedisConnectionFactory.class) @EnableConfigurationProperties(org.springframework.boot.autoconfigure.cache.CacheProperties.class) @EnableCaching public class RedisCacheAutoConfiguration extends Object
扩展redis-cache支持注解cacheName添加超时时间
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private final org.springframework.boot.autoconfigure.cache.CacheProperties
     
    private final org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers
     
    private final org.springframework.data.redis.cache.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
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • cacheProperties

      private final org.springframework.boot.autoconfigure.cache.CacheProperties cacheProperties
    • customizerInvoker

      private final org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers customizerInvoker
    • redisCacheConfiguration

      @Nullable private final org.springframework.data.redis.cache.RedisCacheConfiguration redisCacheConfiguration
  • 构造器详细资料

    • RedisCacheAutoConfiguration

      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)
  • 方法详细资料

    • cacheManager

      @Bean @Primary public org.springframework.data.redis.cache.RedisCacheManager cacheManager(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory, org.springframework.core.io.ResourceLoader resourceLoader)
    • determineConfiguration

      private org.springframework.data.redis.cache.RedisCacheConfiguration determineConfiguration(ClassLoader classLoader)