92 |
brianR |
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.cacheattributes.UseMemoryShrinker=false
|
|
|
7 |
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
|
|
|
8 |
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
|
|
|
9 |
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
|
|
|
10 |
jcs.default.elementattributes.IsEternal=false
|
|
|
11 |
jcs.default.elementattributes.MaxLifeSeconds=21600
|
|
|
12 |
jcs.default.elementattributes.IdleTime=1800
|
|
|
13 |
jcs.default.elementattributes.IsSpool=true
|
|
|
14 |
jcs.default.elementattributes.IsRemote=true
|
|
|
15 |
jcs.default.elementattributes.IsLateral=true
|
|
|
16 |
|
|
|
17 |
# PRE-DEFINED CACHE REGIONS
|
|
|
18 |
jcs.region.FileCache=DC
|
|
|
19 |
jcs.region.FileCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
|
|
|
20 |
jcs.region.FileCache.cacheattributes.MaxObjects=1000
|
|
|
21 |
jcs.region.FileCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
|
|
|
22 |
jcs.region.FileCache.cacheattributes.UseMemoryShrinker=false
|
|
|
23 |
jcs.region.FileCache.cacheattributes.MaxMemoryIdleTimeSeconds=3600
|
|
|
24 |
jcs.region.FileCache.cacheattributes.ShrinkerIntervalSeconds=60
|
|
|
25 |
jcs.region.FileCache.cacheattributes.MaxSpoolPerRun=500
|
|
|
26 |
jcs.region.FileCache.elementattributes=org.apache.jcs.engine.ElementAttributes
|
|
|
27 |
jcs.region.FileCache.elementattributes.IsEternal=false
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
# AVAILABLE AUXILIARY CACHES
|
|
|
31 |
jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
|
|
|
32 |
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
|
|
|
33 |
jcs.auxiliary.DC.attributes.DiskPath=${user.dir}/jcs_swap
|
|
|
34 |
jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000000
|
|
|
35 |
jcs.auxiliary.DC.attributes.MaxKeySize=1000000
|
|
|
36 |
jcs.auxiliary.DC.attributes.MaxRecycleBinSize=5000
|
|
|
37 |
jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000
|
|
|
38 |
jcs.auxiliary.DC.attributes.ShutdownSpoolTimeLimit=60
|