com.jalios.jcms
Class CacheManager.ServerCacheLRU
java.lang.Object
com.jalios.jcms.CacheManager.ServerCacheLRU
- Enclosing class:
- CacheManager
protected class CacheManager.ServerCacheLRU
- extends Object
Helper class used to store the LRU collection of server's caches.
Instance of this class do NOT store any content, it is only used to provided a
LRU map thus helping in removing cache not being used when
they exceed the maximum number of cache authorized in configuration.
One instance of LRY is always created for the default configuration of the CacheManager,
as defined through property :
cache-mgr.max-servers-cache-nbr: 1000
Additionnal configuration can be created using following property :
cache-mgr.configuration.{myconfiguration}.max-servers-cache-nbr: 200
An alternate configuration is used by specifying attribute "configuration"
to the jalios:cache tag to the same value used in properties's name (eg "{myconfiguration}")
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
protected final transient String config
maxServersCacheNbr
protected transient int maxServersCacheNbr
serversCacheIdMap
protected transient Map<String,String> serversCacheIdMap
CacheManager.ServerCacheLRU
public CacheManager.ServerCacheLRU(String configuration)
reinitialize
public void reinitialize()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.