public abstract class AbstractCacheFactory extends Object implements CacheFactory
CacheFactory. It abstract out the key formation from URL along with
invocation method. It initially check if the value for key already present in own local in-memory store then it won't check underlying storage cache Cache.
Internally it used ConcurrentHashMap to store do level-1 caching.public Cache getCache(URL url, Invocation invocation)
getCache 在接口中 CacheFactoryurl - url of the methodinvocation - invocation context.Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.