Class ThreeLevelCacheTemplate<F,​S,​T>


  • public class ThreeLevelCacheTemplate<F,​S,​T>
    extends Object
    Шаблон сервиса трехуровнего кэширования
    • Field Detail

      • log

        protected static final org.slf4j.Logger log
    • Constructor Detail

      • ThreeLevelCacheTemplate

        public ThreeLevelCacheTemplate()
    • Method Detail

      • setCacheManager

        public void setCacheManager​(org.springframework.cache.CacheManager cacheManager)
      • getCacheManager

        protected org.springframework.cache.CacheManager getCacheManager()
      • handleThirdCache

        protected F handleThirdCache​(Object firstKey,
                                     Object secondKey,
                                     Object thirdKey,
                                     ThreeLevelCacheCallback<F,​S,​T> callback,
                                     org.springframework.cache.Cache firstLevelCache,
                                     org.springframework.cache.Cache secondLevelCache,
                                     org.springframework.cache.Cache thirdLevelCache)
      • handleSecondCache

        protected F handleSecondCache​(Object firstKey,
                                      Object secondKey,
                                      ThreeLevelCacheCallback<F,​S,​T> callback,
                                      org.springframework.cache.Cache firstLevelCache,
                                      org.springframework.cache.Cache secondLevelCache,
                                      T thirdLevelCacheValue)
      • handleFirstCache

        protected F handleFirstCache​(Object firstKey,
                                     S secondLevelCacheValue,
                                     org.springframework.cache.Cache firstLevelCache,
                                     ThreeLevelCacheCallback<F,​S,​T> callback)