asmuts      02/02/20 22:42:31

  Modified:    src/conf cache.ccf
  Log:
  you can now set the element attributes in the cache.ccf file for each region, or 
establish defaults.  This will save a lot of code.
  
  Need to revisit the copy method.
  
  Revision  Changes    Path
  1.14      +15 -4     jakarta-turbine-stratum/src/conf/cache.ccf
  
  Index: cache.ccf
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-stratum/src/conf/cache.ccf,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- cache.ccf 20 Feb 2002 05:31:16 -0000      1.13
  +++ cache.ccf 21 Feb 2002 06:42:31 -0000      1.14
  @@ -5,10 +5,16 @@
   jcs.default.cacheattributes=org.apache.stratum.jcs.engine.CompositeCacheAttributes
   jcs.default.cacheattributes.MaxObjects=1000
   
jcs.default.cacheattributes.MemoryCacheName=org.apache.stratum.jcs.engine.memory.lru.LRUMemoryCache
  -jcs.default.cacheattributes.cacheattributes.UseMemoryShrinker=true
  -jcs.default.cacheattributes.cacheattributes.MaxMemoryIdleTimeSeconds=3600
  -jcs.default.cacheattributes.cacheattributes.ShrinkerIntervalSeconds=60
  -
  +jcs.default.cacheattributes.UseMemoryShrinker=true
  +jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
  +jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
  +jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
  +jcs.default.elementattributes.IsEternal=false
  +jcs.default.elementattributes.MaxLifeSeconds=3600
  +jcs.default.elementattributes.IdleTime=1800
  +jcs.default.elementattributes.IsSpool=true
  +jcs.default.elementattributes.IsRemote=true
  +jcs.default.elementattributes.IsLateral=true
   
   # SYSTEM CACHE
   # should be defined for the storage of group attribute list
  @@ -36,6 +42,11 @@
   jcs.region.testCache2.cacheattributes.UseMemoryShrinker=true
   jcs.region.testCache2.cacheattributes.MaxMemoryIdleTimeSeconds=3600
   jcs.region.testCache2.cacheattributes.ShrinkerIntervalSeconds=60
  +jcs.region.testCache2.elementattributes.IsEternal=false
  +jcs.region.testCache2.elementattributes.MaxLifeSeconds=60
  +jcs.region.testCache2.elementattributes.IsSpool=true
  +jcs.region.testCache2.elementattributes.IsRemote=true
  +jcs.region.testCache2.elementattributes.IsLateral=true
   
   jcs.region.testCache3=DC
   
jcs.region.testCache3.cacheattributes=org.apache.stratum.jcs.engine.CompositeCacheAttributes
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to