jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame^] | 1 | # DEFAULT CACHE REGION
|
| 2 | jcs.default=DC
|
| 3 | jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
|
| 4 | jcs.default.cacheattributes.MaxObjects=1000
|
| 5 | jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
|
| 6 | jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
|
| 7 | jcs.default.elementattributes.IsEternal=true
|
| 8 | jcs.default.elementattributes.IsSpool=true
|
| 9 |
|
| 10 |
|
| 11 | # MEMORY SHRINKING CONFIGURATION (Commented)
|
| 12 | #jcs.default.cacheattributes.UseMemoryShrinker=true
|
| 13 | #jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
|
| 14 | #jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
|
| 15 | #jcs.default.cacheattributes.MaxSpoolPerRun=500
|
| 16 | #jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
|
| 17 | #jcs.default.elementattributes.IsEternal=false
|
| 18 |
|
| 19 |
|
| 20 | # AUXILLARY CACHE CONFIGURATION
|
| 21 | jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
|
| 22 | jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
|
| 23 | jcs.auxiliary.DC.attributes.DiskPath=/tmp
|
| 24 |
|
| 25 |
|
| 26 | # PRE-DEFINED REGION FOR LOOKUP DATA
|
| 27 | jcs.region.lookUpObjectCache=DC
|
| 28 | jcs.region.lookUpObjectCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
|
| 29 | jcs.region.lookUpObjectCache.cacheattributes.MaxObjects=4000
|
| 30 | jcs.region.lookUpObjectCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
|