All Known Subinterfaces:
AsyncCacheResolver, SyncCacheResolver
All Known Implementing Classes:
HazelcastCacheResolver, IgniteCacheResolver, InfinispanCacheResolver, InfinispanJCacheCacheResolver, JCacheCacheResolver, RedisCacheResolver

public interface CacheResolver
The CacheResolver is used to resolve Bucket4js ProxyManager by a given cache name. Each cache implementation should implement this interface. But the interface shouldn't be implemented directly. The CacheResolver is divided to the blocking SyncCacheResolver and the asynchronous AsyncCacheResolver.
  • Method Summary

    Modifier and Type Method Description
    io.github.bucket4j.distributed.proxy.ProxyManager<String> resolve​(String cacheName)  
  • Method Details

    • resolve

      io.github.bucket4j.distributed.proxy.ProxyManager<String> resolve​(String cacheName)