public abstract class AbstractCacheFactory extends Object implements com.alibaba.dubbo.cache.CacheFactory
| 构造器和说明 |
|---|
AbstractCacheFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
generateCacheName(com.alibaba.dubbo.common.URL url) |
protected abstract com.alibaba.dubbo.cache.Cache |
generateNewCache(String cacheName,
com.alibaba.dubbo.common.URL url) |
com.alibaba.dubbo.cache.Cache |
getCache(com.alibaba.dubbo.common.URL url) |
protected boolean |
needCache(String method) |
protected com.alibaba.dubbo.cache.Cache |
putCacheIfAbsent(String cacheName,
com.alibaba.dubbo.cache.Cache cache) |
protected boolean needCache(String method)
protected String generateCacheName(com.alibaba.dubbo.common.URL url)
public com.alibaba.dubbo.cache.Cache getCache(com.alibaba.dubbo.common.URL url)
getCache 在接口中 com.alibaba.dubbo.cache.CacheFactoryprotected abstract com.alibaba.dubbo.cache.Cache generateNewCache(String cacheName, com.alibaba.dubbo.common.URL url)
protected com.alibaba.dubbo.cache.Cache putCacheIfAbsent(String cacheName, com.alibaba.dubbo.cache.Cache cache)
Copyright © 2015. All rights reserved.