Interface CacheResolver

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

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.grid.ProxyManager<java.lang.String> resolve​(java.lang.String cacheName)  
  • Method Details

    • resolve

      io.github.bucket4j.grid.ProxyManager<java.lang.String> resolve​(java.lang.String cacheName)