DEFAULT_CACHE_ON, DEFAULT_CACHE_TTL, DEFAULT_CONCURRENCY_LEVEL, DEFAULT_MAX_CACHE_SIZE, DEFAULT_START_CACHE_SIZE| Constructor and Description |
|---|
FacetCache() |
FacetCache(int concurrencyLevel,
int cacheStartSize,
int cacheMaxSize,
long ttl) |
| Modifier and Type | Method and Description |
|---|---|
void |
merge(String key,
Map<String,Map<String,Integer>> doc,
Map<String,Map<String,Integer>> returnedVal)
merge the doc into the current cached item, if it exists.
|
clear, get, keySet, put, remove, removeAll, setCacheModepublic FacetCache()
public FacetCache(int concurrencyLevel,
int cacheStartSize,
int cacheMaxSize,
long ttl)
concurrencyLevel - cache concurreny levelcacheStartSize - starting cache sizecacheMaxSize - the initial size of the cache.ttl - expiration time for cache entries in milliseconds"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"