类 BiscuitRedisCacheManager

  • 所有已实现的接口:
    org.springframework.beans.factory.InitializingBean, org.springframework.cache.CacheManager

    public class BiscuitRedisCacheManager
    extends org.springframework.data.redis.cache.RedisCacheManager
    缓存管理器
    作者:
    zhanglinfeng
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static class  BiscuitRedisCacheManager.BiscuitRedisCacheManagerBuilder  
      • 从类继承的嵌套类/接口 org.springframework.data.redis.cache.RedisCacheManager

        org.springframework.data.redis.cache.RedisCacheManager.RedisCacheManagerBuilder
    • 构造器概要

      构造器 
      构造器 说明
      BiscuitRedisCacheManager​(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, Map<String,​org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations, boolean allowInFlightCacheCreation, String delimitSymbol)
      Creates new RedisCacheManager using given RedisCacheWriter and default RedisCacheConfiguration.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected org.springframework.data.redis.cache.RedisCache createRedisCache​(String name, org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig)  
      • 从类继承的方法 org.springframework.data.redis.cache.RedisCacheManager

        builder, builder, builder, create, getCacheConfigurations, getMissingCache, loadCaches
      • 从类继承的方法 org.springframework.cache.transaction.AbstractTransactionSupportingCacheManager

        decorateCache, isTransactionAware, setTransactionAware
      • 从类继承的方法 org.springframework.cache.support.AbstractCacheManager

        addCache, afterPropertiesSet, getCache, getCacheNames, initializeCaches, lookupCache
    • 构造器详细资料

      • BiscuitRedisCacheManager

        public BiscuitRedisCacheManager​(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
                                        org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
                                        Map<String,​org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations,
                                        boolean allowInFlightCacheCreation,
                                        String delimitSymbol)
        Creates new RedisCacheManager using given RedisCacheWriter and default RedisCacheConfiguration.
        参数:
        cacheWriter - must not be null.
        defaultCacheConfiguration - must not be null. Maybe just use RedisCacheConfiguration.defaultCacheConfig().
        initialCacheConfigurations - Map of known cache names along with the configuration to use for those caches. Must not be null.
        allowInFlightCacheCreation - if set to false this cache manager is limited to the initial cache configurations and will not create new caches at runtime.
        从以下版本开始:
        2.0.4
    • 方法详细资料

      • createRedisCache

        protected org.springframework.data.redis.cache.RedisCache createRedisCache​(String name,
                                                                                   org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig)
        覆盖:
        createRedisCache 在类中 org.springframework.data.redis.cache.RedisCacheManager
        参数:
        name - must not be null.
        cacheConfig - can be null.
        返回:
        RedisCache