|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omnifaces.component.output.cache.CacheInstancePerScopeProvider org.omnifaces.component.output.cache.DefaultCacheProvider
public class DefaultCacheProvider
A default cache provider that will be used by the OmniFaces Cache component if no explicit provider has been configured.
This will create a Cache instance that uses a repackaged ConcurrentLinkedHashMap
for the actual implementation.
See: http://code.google.com/p/concurrentlinkedhashmap
Field Summary |
---|
Fields inherited from class org.omnifaces.component.output.cache.CacheInstancePerScopeProvider |
---|
APP_MAX_CAP_PARAM_NAME, APP_TTL_PARAM_NAME, DEFAULT_CACHE_PARAM_NAME, SESSION_MAX_CAP_PARAM_NAME, SESSION_TTL_PARAM_NAME |
Constructor Summary | |
---|---|
DefaultCacheProvider()
|
Method Summary | |
---|---|
protected Cache |
createCache(java.lang.Integer timeToLive,
java.lang.Integer maxCapacity)
|
Methods inherited from class org.omnifaces.component.output.cache.CacheInstancePerScopeProvider |
---|
getCache, getParameters, setParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCacheProvider()
Method Detail |
---|
protected Cache createCache(java.lang.Integer timeToLive, java.lang.Integer maxCapacity)
createCache
in class CacheInstancePerScopeProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |