接口 CacheFactory
-
- 所有已知子接口:
CacheFactory
- 所有已知实现类:
AbstractCacheFactory,AbstractCacheFactory,ExpiringCacheFactory,JCacheFactory,LfuCacheFactory,LruCacheFactory,ThreadLocalCacheFactory
@SPI("lru") public interface CacheFactory
Interface needs to be implemented by all the cache store provider.Along with implementing CacheFactory interface entry needs to be added in org.apache.dubbo.cache.CacheFactory file in a classpath META-INF sub directories.- 另请参阅:
Cache
-
-
方法详细资料
-
getCache
@Adaptive("cache") Cache getCache(URL url, Invocation invocation)
CacheFactory implementation class needs to implement this return underlying cache instance for method against url and invocation.- 参数:
url-invocation-- 返回:
- Instance of Cache containing cached value against method url and invocation.
-
-