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.| Constructor and Description |
|---|
AbstractCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
Cache |
getCache(URL url,
Invocation invocation)
Takes URL and invocation instance and return cache instance for a given url.
|
public Cache getCache(URL url, Invocation invocation)
getCache in interface CacheFactoryurl - url of the methodinvocation - invocation context.Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.