blob: 19c36bbbc1bb10dcd32536db0c36311b67d00374 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001#<!--/*-
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
24jcs.default=DC
25jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
26jcs.default.cacheattributes.MaxObjects=1000
27jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
28jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
29jcs.default.elementattributes.IsEternal=true
30jcs.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
43jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
44jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
45jcs.auxiliary.DC.attributes.DiskPath=${CACHE_DIRECTORY}
46
47
48# PRE-DEFINED REGION FOR LOOKUP DATA
49jcs.region.lookUpObjectCache=DC
50jcs.region.lookUpObjectCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
51jcs.region.lookUpObjectCache.cacheattributes.MaxObjects=4000
52jcs.region.lookUpObjectCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache