protected class CacheManager.ServerCacheLRU
extends java.lang.Object
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: 200An alternate configuration is used by specifying attribute "configuration" to the jalios:cache tag to the same value used in properties's name (eg "{myconfiguration}")
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
config |
protected int |
maxServersCacheNbr |
protected java.util.Map<java.lang.String,java.lang.String> |
serversCacheIdMap |
Constructor and Description |
---|
CacheManager.ServerCacheLRU(java.lang.String configuration) |
Modifier and Type | Method and Description |
---|---|
void |
reinitialize() |
protected final transient java.lang.String config
protected transient int maxServersCacheNbr
protected transient java.util.Map<java.lang.String,java.lang.String> serversCacheIdMap
Copyright © 2001-2010 Jalios SA. All Rights Reserved.