Class CacheConfig

  • All Implemented Interfaces:
    org.springframework.cache.annotation.CachingConfigurer

    @Configuration
    @EnableCaching
    public class CacheConfig
    extends org.springframework.cache.annotation.CachingConfigurerSupport
    • Constructor Detail

      • CacheConfig

        public CacheConfig()
    • Method Detail

      • userCache

        @Bean(name="userCache")
        public org.springframework.cache.Cache userCache()
      • requestCache

        @Bean(name="requestCache")
        @RequestScope
        public org.springframework.cache.Cache requestCache()
      • cacheManager

        @Bean
        public org.springframework.cache.CacheManager cacheManager​(MetaHotReloadService metaHotReloadService)
      • buildCacheManagers

        protected List<org.springframework.cache.CacheManager> buildCacheManagers()
      • buildUnExpirableCacheManager

        protected org.springframework.cache.CacheManager buildUnExpirableCacheManager​(String... names)
      • buildRequestAwareCacheManager

        protected org.springframework.cache.CacheManager buildRequestAwareCacheManager​(String... names)