Aharoni, Pavel (pa0916) | ca3cb01 | 2018-10-22 15:29:57 +0300 | [diff] [blame] | 1 | #<!--/*-
|
| 2 | # * ============LICENSE_START=======================================================
|
| 3 | # * OSAM Core
|
| 4 | # * ================================================================================
|
| 5 | # * Copyright (C) 2018 AT&T
|
| 6 | # * ================================================================================
|
| 7 | # * Licensed under the Apache License, Version 2.0 (the "License");
|
| 8 | # * you may not use this file except in compliance with the License.
|
| 9 | # * You may obtain a copy of the License at
|
| 10 | # *
|
| 11 | # * http://www.apache.org/licenses/LICENSE-2.0
|
| 12 | # *
|
| 13 | # * Unless required by applicable law or agreed to in writing, software
|
| 14 | # * distributed under the License is distributed on an "AS IS" BASIS,
|
| 15 | # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 16 | # * See the License for the specific language governing permissions and
|
| 17 | # * limitations under the License.
|
| 18 | # * ============LICENSE_END=========================================================
|
| 19 | # */
|
| 20 | #-->
|
| 21 |
|
| 22 |
|
| 23 | # DEFAULT CACHE REGION
|
| 24 | jcs.default=DC
|
| 25 | jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
|
| 26 | jcs.default.cacheattributes.MaxObjects=1000
|
| 27 | jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
|
| 28 | jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
|
| 29 | jcs.default.elementattributes.IsEternal=true
|
| 30 | jcs.default.elementattributes.IsSpool=true
|
| 31 |
|
| 32 |
|
| 33 | # MEMORY SHRINKING CONFIGURATION (Commented)
|
| 34 | #jcs.default.cacheattributes.UseMemoryShrinker=true
|
| 35 | #jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
|
| 36 | #jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
|
| 37 | #jcs.default.cacheattributes.MaxSpoolPerRun=500
|
| 38 | #jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
|
| 39 | #jcs.default.elementattributes.IsEternal=false
|
| 40 |
|
| 41 |
|
| 42 | # AUXILLARY CACHE CONFIGURATION
|
| 43 | jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
|
| 44 | jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
|
| 45 | jcs.auxiliary.DC.attributes.DiskPath=/tmp
|
| 46 |
|
| 47 |
|
| 48 | # PRE-DEFINED REGION FOR LOOKUP DATA
|
| 49 | jcs.region.lookUpObjectCache=DC
|
| 50 | jcs.region.lookUpObjectCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
|
| 51 | jcs.region.lookUpObjectCache.cacheattributes.MaxObjects=4000
|
| 52 | jcs.region.lookUpObjectCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
|