1 # DEFAULT CACHE REGION
\r
3 jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
\r
4 jcs.default.cacheattributes.MaxObjects=1000
\r
5 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
\r
6 jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
\r
7 jcs.default.elementattributes.IsEternal=true
\r
8 jcs.default.elementattributes.IsSpool=true
\r
11 # MEMORY SHRINKING CONFIGURATION (Commented)
\r
12 #jcs.default.cacheattributes.UseMemoryShrinker=true
\r
13 #jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
\r
14 #jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
\r
15 #jcs.default.cacheattributes.MaxSpoolPerRun=500
\r
16 #jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
\r
17 #jcs.default.elementattributes.IsEternal=false
\r
20 # AUXILLARY CACHE CONFIGURATION
\r
21 jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
\r
22 jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
\r
23 jcs.auxiliary.DC.attributes.DiskPath=/tmp
\r
26 # PRE-DEFINED REGION FOR LOOKUP DATA
\r
27 jcs.region.lookUpObjectCache=DC
\r
28 jcs.region.lookUpObjectCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
\r
29 jcs.region.lookUpObjectCache.cacheattributes.MaxObjects=4000
\r
30 jcs.region.lookUpObjectCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
\r