joerg 2004/03/03 14:38:11
Modified: src/blocks/scratchpad/WEB-INF TestDiskCache.ccf Log: got you :) Revision Changes Path 1.2 +49 -49 cocoon-2.1/src/blocks/scratchpad/WEB-INF/TestDiskCache.ccf Index: TestDiskCache.ccf =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/WEB-INF/TestDiskCache.ccf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestDiskCache.ccf 3 Mar 2004 22:28:08 -0000 1.1 +++ TestDiskCache.ccf 3 Mar 2004 22:38:11 -0000 1.2 @@ -1,49 +1,49 @@ -# Cache configuration for the 'TestDiskCache' test. The memory cache has a -# a maximum of 100 objects, so objects should get pushed into the disk cache - -jcs.default=indexedDiskCache -jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.default.cacheattributes.MaxObjects=10 -jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache - -# SYSTEM GROUP ID CACHE -jcs.system.groupIdCache=indexedDiskCache -jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.system.groupIdCache.cacheattributes.MaxObjects=10 -jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache - - -##### CACHE REGIONS FOR TEST - -jcs.region.indexedRegion1=indexedDiskCache -jcs.region.indexedRegion1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.indexedRegion1.cacheattributes.MaxObjects=1000 -jcs.region.indexedRegion1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache - -jcs.region.indexedRegion2=indexedDiskCache -jcs.region.indexedRegion2.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.indexedRegion2.cacheattributes.MaxObjects=100 -jcs.region.indexedRegion2.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache - -jcs.region.indexedRegion3=indexedDiskCache -jcs.region.indexedRegion3.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.indexedRegion3.cacheattributes.MaxObjects=100 -jcs.region.indexedRegion3.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache - -jcs.region.indexedRegion4=indexedDiskCache2 -jcs.region.indexedRegion4.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.region.indexedRegion4.cacheattributes.MaxObjects=100 -jcs.region.indexedRegion4.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache - - -##### AUXILIARY CACHES - -# Indexed Disk Cache -jcs.auxiliary.indexedDiskCache=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory -jcs.auxiliary.indexedDiskCache.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes -jcs.auxiliary.indexedDiskCache.attributes.DiskPath=/www/cocoon/webapps/cocoon/indexed-disk-cache - -# Indexed Disk Cache -jcs.auxiliary.indexedDiskCache2=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory -jcs.auxiliary.indexedDiskCache2.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes -jcs.auxiliary.indexedDiskCache2.attributes.DiskPath=target/test-sandbox/indexed-disk-cache2 +# Cache configuration for the 'TestDiskCache' test. The memory cache has a +# a maximum of 100 objects, so objects should get pushed into the disk cache + +jcs.default=indexedDiskCache +jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes +jcs.default.cacheattributes.MaxObjects=10 +jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache + +# SYSTEM GROUP ID CACHE +jcs.system.groupIdCache=indexedDiskCache +jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes +jcs.system.groupIdCache.cacheattributes.MaxObjects=10 +jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache + + +##### CACHE REGIONS FOR TEST + +jcs.region.indexedRegion1=indexedDiskCache +jcs.region.indexedRegion1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes +jcs.region.indexedRegion1.cacheattributes.MaxObjects=1000 +jcs.region.indexedRegion1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache + +jcs.region.indexedRegion2=indexedDiskCache +jcs.region.indexedRegion2.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes +jcs.region.indexedRegion2.cacheattributes.MaxObjects=100 +jcs.region.indexedRegion2.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache + +jcs.region.indexedRegion3=indexedDiskCache +jcs.region.indexedRegion3.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes +jcs.region.indexedRegion3.cacheattributes.MaxObjects=100 +jcs.region.indexedRegion3.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache + +jcs.region.indexedRegion4=indexedDiskCache2 +jcs.region.indexedRegion4.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes +jcs.region.indexedRegion4.cacheattributes.MaxObjects=100 +jcs.region.indexedRegion4.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache + + +##### AUXILIARY CACHES + +# Indexed Disk Cache +jcs.auxiliary.indexedDiskCache=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory +jcs.auxiliary.indexedDiskCache.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes +jcs.auxiliary.indexedDiskCache.attributes.DiskPath=/www/cocoon/webapps/cocoon/indexed-disk-cache + +# Indexed Disk Cache +jcs.auxiliary.indexedDiskCache2=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory +jcs.auxiliary.indexedDiskCache2.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes +jcs.auxiliary.indexedDiskCache2.attributes.DiskPath=target/test-sandbox/indexed-disk-cache2
