asmuts 2004/07/12 19:15:16 Modified: src/conf cache.ccf Log: Three memory cache test regions that I'm working with. Revision Changes Path 1.7 +23 -6 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.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- cache.ccf 8 Jul 2004 00:53:36 -0000 1.6 +++ cache.ccf 13 Jul 2004 02:15:16 -0000 1.7 @@ -35,10 +35,11 @@ ############################################################## ################## CACHE REGIONS AVAILABLE ################### # Regions preconfirgured for caching -jcs.region.testCache1=LJG +jcs.region.testCache1= jcs.region.testCache1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.testCache1.cacheattributes.MaxObjects=10000 -jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.testCache1.cacheattributes.UseMemoryShrinker=true +jcs.region.testCache1.cacheattributes.MaxObjects=100000 +jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.arc.ARCMemoryCache +jcs.region.testCache1.cacheattributes.UseMemoryShrinker=false jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=5000 jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=100 jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=30 @@ -49,7 +50,7 @@ jcs.region.testCache2=DC jcs.region.testCache2.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.testCache2.cacheattributes.MaxObjects=10 +jcs.region.testCache2.cacheattributes.MaxObjects=100000 jcs.region.testCache2.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.testCache2.cacheattributes.UseMemoryShrinker=false jcs.region.testCache2.cacheattributes.MaxMemoryIdleTimeSeconds=10 @@ -61,6 +62,20 @@ jcs.region.testCache2.elementattributes.IsRemote=true jcs.region.testCache2.elementattributes.IsLateral=true +jcs.region.testCache3= +jcs.region.testCache3.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes +jcs.region.testCache3.cacheattributes.MaxObjects=100000 +jcs.region.testCache3.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LHMLRUMemoryCache +jcs.region.testCache3.cacheattributes.UseMemoryShrinker=false +jcs.region.testCache3.cacheattributes.MaxMemoryIdleTimeSeconds=10 +jcs.region.testCache3.cacheattributes.ShrinkerIntervalSeconds=60 +jcs.region.testCache3.elementattributes=org.apache.jcs.engine.ElementAttributes +jcs.region.testCache3.elementattributes.IsEternal=false +jcs.region.testCache3.elementattributes.MaxLifeSeconds=3600 +jcs.region.testCache3.elementattributes.IsSpool=true +jcs.region.testCache3.elementattributes.IsRemote=true +jcs.region.testCache3.elementattributes.IsLateral=true + ############################################################## ################## AUXILIARY CACHES AVAILABLE ################ @@ -85,13 +100,15 @@ jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes jcs.auxiliary.DC.attributes.DiskPath=target/test-sandbox/raf #new disk cache parameter. -jcs.auxiliary.DC.attributes.maxKeySize=1000 +jcs.auxiliary.DC.attributes.maxKeySize=100000 # Berkeley DB JE jcs.auxiliary.JE=org.apache.jcs.auxiliary.disk.bdbje.BDBJECacheFactory jcs.auxiliary.JE.attributes=org.apache.jcs.auxiliary.disk.bdbje.BDBJECacheAttributes jcs.auxiliary.JE.attributes.DiskPath=target/test-sandbox/bdbje-disk-cache-conc - +#the minimum cache size is 1024 +jcs.auxiliary.indexedDiskCache.attributes.CacheSize=1024 +#jcs.auxiliary.indexedDiskCache.attributes.CachePercent=0 # HSQL Disk Cache -- too slow as is jcs.auxiliary.HDC=org.apache.jcs.auxiliary.disk.hsql.HSQLCacheFactory
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
