asmuts 2004/07/15 18:29:51 Modified: src/conf cache.ccf Log: new param for controlling disk cache optimization Revision Changes Path 1.8 +6 -5 jakarta-turbine-jcs/src/conf/cache.ccf Index: cache.ccf =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/conf/cache.ccf,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- cache.ccf 13 Jul 2004 02:15:16 -0000 1.7 +++ cache.ccf 16 Jul 2004 01:29:51 -0000 1.8 @@ -35,10 +35,10 @@ ############################################################## ################## CACHE REGIONS AVAILABLE ################### # Regions preconfirgured for caching -jcs.region.testCache1= +jcs.region.testCache1=DC jcs.region.testCache1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.testCache1.cacheattributes.MaxObjects=100000 -jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.arc.ARCMemoryCache +jcs.region.testCache1.cacheattributes.MaxObjects=100 +jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.testCache1.cacheattributes.UseMemoryShrinker=false jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=5000 jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=100 @@ -50,11 +50,11 @@ jcs.region.testCache2=DC jcs.region.testCache2.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.testCache2.cacheattributes.MaxObjects=100000 +jcs.region.testCache2.cacheattributes.MaxObjects=100 jcs.region.testCache2.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.testCache2.cacheattributes.UseMemoryShrinker=false jcs.region.testCache2.cacheattributes.MaxMemoryIdleTimeSeconds=10 -jcs.region.testCache2.cacheattributes.ShrinkerIntervalSeconds=60 +jcs.region.testCache2.cacheattributes.ShrinkerIntervalSeconds=6 jcs.region.testCache2.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.region.testCache2.elementattributes.IsEternal=false jcs.region.testCache2.elementattributes.MaxLifeSeconds=600 @@ -101,6 +101,7 @@ jcs.auxiliary.DC.attributes.DiskPath=target/test-sandbox/raf #new disk cache parameter. jcs.auxiliary.DC.attributes.maxKeySize=100000 +jcs.auxiliary.DC.attributes.optimizeAtRemoveCount=-1 # Berkeley DB JE jcs.auxiliary.JE=org.apache.jcs.auxiliary.disk.bdbje.BDBJECacheFactory
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
