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(java.lang.Integer timeToLive,
java.lang.Integer maxCapacity) |
getCache, getParameters, setParameters
protected Cache createCache(java.lang.Integer timeToLive, java.lang.Integer maxCapacity)
createCache
in class CacheInstancePerScopeProvider