public class DefaultCacheProvider extends CacheInstancePerScopeProvider
This will create a Cache instance that uses a repackaged ConcurrentLinkedHashMap
for the actual implementation.
APP_MAX_CAP_PARAM_NAME, APP_TTL_PARAM_NAME, DEFAULT_CACHE_PARAM_NAME, SESSION_MAX_CAP_PARAM_NAME, SESSION_TTL_PARAM_NAME
Constructor and Description |
---|
DefaultCacheProvider() |
Modifier and Type | Method and Description |
---|---|
protected Cache |
createCache(Integer timeToLive,
Integer maxCapacity) |
getCache, getParameters, setParameters
protected Cache createCache(Integer timeToLive, Integer maxCapacity)
createCache
in class CacheInstancePerScopeProvider
Copyright © 2012–2015 OmniFaces. All rights reserved.