Class DefaultLoadBalancerCacheManager

  • All Implemented Interfaces:
    org.springframework.cache.CacheManager, LoadBalancerCacheManager

    public class DefaultLoadBalancerCacheManager
    extends Object
    implements LoadBalancerCacheManager
    An DefaultLoadBalancerCache-based LoadBalancerCacheManager implementation. NOTE: This is a very basic implementation as required for the LoadBalancer caching mechanism at the moment. The underlying implementation can be modified in future to allow for passing different properties per cache name.
    Since:
    2.2.0
    Author:
    Olga Maciaszek-Sharma
    See Also:
    Evictor, ConcurrentHashMapWithTimedEviction
    • Method Detail

      • getCache

        @Nullable
        public org.springframework.cache.Cache getCache​(String name)
        Specified by:
        getCache in interface org.springframework.cache.CacheManager
      • getCacheNames

        public Collection<String> getCacheNames()
        Specified by:
        getCacheNames in interface org.springframework.cache.CacheManager