blob: a43058c9324f971890fa4c5301a79886d5d30aff [file] [log] [blame]
# JCS Config for unit testing, just a simple memory only cache, with 0 max size
# with the memory shrinker on.
jcs.default=
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.mru.MRUMemoryCache
jcs.default.cacheattributes.UseMemoryShrinker=true
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds=1
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
jcs.default.elementattributes.MaxLifeSeconds=600
jcs.default.elementattributes.IdleTime=1800
jcs.default.elementattributes.IsSpool=true
jcs.default.elementattributes.IsRemote=true
jcs.default.elementattributes.IsLateral=true
# Region defined that uses the MRU
jcs.region.mruDefined=
jcs.region.mruDefined.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.mruDefined.cacheattributes.MaxObjects=100000
jcs.region.mruDefined.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.mru.MRUMemoryCache
# Region defined that uses the LRU
jcs.region.lruDefined=
jcs.region.lruDefined.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.lruDefined.cacheattributes.MaxObjects=100000
jcs.region.lruDefined.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache