jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asm...@apache.org
Subject cvs commit: jakarta-turbine-jcs/src/test TestBDBJEDiskCacheCon.ccf
Date Thu, 08 Jul 2004 00:50:29 GMT
asmuts      2004/07/07 17:50:29

  Added:       src/test TestBDBJEDiskCacheCon.ccf
  Log:
  Berkeley DB JE unit test
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-jcs/src/test/TestBDBJEDiskCacheCon.ccf
  
  Index: TestBDBJEDiskCacheCon.ccf
  ===================================================================
  # 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=100
  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=10000
  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=100
  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=indexedDiskCache
  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
  jcs.region.indexedRegion4.cacheattributes.UseMemoryShrinker=false
  
  
  ##### AUXILIARY CACHES
  
  # Berkeley DB JE
  jcs.auxiliary.indexedDiskCache=org.apache.jcs.auxiliary.disk.bdbje.BDBJECacheFactory
  jcs.auxiliary.indexedDiskCache.attributes=org.apache.jcs.auxiliary.disk.bdbje.BDBJECacheAttributes
  jcs.auxiliary.indexedDiskCache.attributes.DiskPath=target/test-sandbox/bdbje-disk-cache-conc
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org


Mime
View raw message