-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcache.ccf
More file actions
executable file
·32 lines (30 loc) · 1.52 KB
/
cache.ccf
File metadata and controls
executable file
·32 lines (30 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#########################################
##### Default Region Configuration ######
#########################################
jcs.default=DC
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=100
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
#########################
##### CACHE REGIONS #####
#########################
jcs.region.KEGG_API=DC
jcs.region.KEGG_API.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.KEGG_API.cacheattributes.MaxObjects=10000
jcs.region.KEGG_API.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.KEGG_API.cacheattributes.UseMemoryShrinker=true
jcs.region.KEGG_API.cacheattributes.MaxMemoryIdleTimeSeconds=36000000
jcs.region.KEGG_API.cacheattributes.ShrinkerIntervalSeconds=600
jcs.region.KEGG_API.cacheattributes.MaxSpoolPerRun=500
############################
##### AUXILIARY CACHES #####
############################
# Indexed Disk Cache
jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=./cache
jcs.auxiliary.DC.attributes.MaxPurgatorySize=1000000
jcs.auxiliary.DC.attributes.MaxKeySize=1000000
jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=3000000
jcs.auxiliary.DC.attributes.OptimizeOnShutdown=true
jcs.auxiliary.DC.attributes.MaxRecycleBinSize=1000000