All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.giffing.bucket4j.spring.boot.starter.config.cache.CacheResolver Maven / Gradle / Ivy

There is a newer version: 0.12.7
Show newest version
package com.giffing.bucket4j.spring.boot.starter.config.cache;

import io.github.bucket4j.distributed.proxy.ProxyManager;

/**
 * The CacheResolver is used to resolve Bucket4js {@link 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 {@link SyncCacheResolver} and the asynchronous {@link AsyncCacheResolver}.
 *
 */
public interface CacheResolver {

	ProxyManagerWrapper resolve(String cacheName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy