0,0 → 1,38 |
# DEFAULT CACHE REGION |
jcs.default=DC |
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes |
jcs.default.cacheattributes.MaxObjects=1000 |
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache |
jcs.default.cacheattributes.UseMemoryShrinker=false |
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600 |
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 |
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes |
jcs.default.elementattributes.IsEternal=false |
jcs.default.elementattributes.MaxLifeSeconds=21600 |
jcs.default.elementattributes.IdleTime=1800 |
jcs.default.elementattributes.IsSpool=true |
jcs.default.elementattributes.IsRemote=true |
jcs.default.elementattributes.IsLateral=true |
|
# PRE-DEFINED CACHE REGIONS |
jcs.region.FileCache=DC |
jcs.region.FileCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes |
jcs.region.FileCache.cacheattributes.MaxObjects=1000 |
jcs.region.FileCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache |
jcs.region.FileCache.cacheattributes.UseMemoryShrinker=false |
jcs.region.FileCache.cacheattributes.MaxMemoryIdleTimeSeconds=3600 |
jcs.region.FileCache.cacheattributes.ShrinkerIntervalSeconds=60 |
jcs.region.FileCache.cacheattributes.MaxSpoolPerRun=500 |
jcs.region.FileCache.elementattributes=org.apache.jcs.engine.ElementAttributes |
jcs.region.FileCache.elementattributes.IsEternal=false |
|
|
# AVAILABLE AUXILIARY CACHES |
jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory |
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes |
jcs.auxiliary.DC.attributes.DiskPath=${user.dir}/jcs_swap |
jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000000 |
jcs.auxiliary.DC.attributes.MaxKeySize=1000000 |
jcs.auxiliary.DC.attributes.MaxRecycleBinSize=5000 |
jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000 |
jcs.auxiliary.DC.attributes.ShutdownSpoolTimeLimit=60 |