Reason for revert: This is blocking us from releasing the honolulu release - the...
[vid.git] / epsdk-app-onap / src / main / resources / cache_template.ccf
diff --git a/epsdk-app-onap/src/main/resources/cache_template.ccf b/epsdk-app-onap/src/main/resources/cache_template.ccf
new file mode 100755 (executable)
index 0000000..0ff68b8
--- /dev/null
@@ -0,0 +1,30 @@
+# DEFAULT CACHE REGION\r
+jcs.default=DC\r
+jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes\r
+jcs.default.cacheattributes.MaxObjects=1000\r
+jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache\r
+jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes\r
+jcs.default.elementattributes.IsEternal=true\r
+jcs.default.elementattributes.IsSpool=true\r
+\r
+\r
+# MEMORY SHRINKING CONFIGURATION (Commented)\r
+#jcs.default.cacheattributes.UseMemoryShrinker=true\r
+#jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600\r
+#jcs.default.cacheattributes.ShrinkerIntervalSeconds=60\r
+#jcs.default.cacheattributes.MaxSpoolPerRun=500\r
+#jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes\r
+#jcs.default.elementattributes.IsEternal=false\r
+\r
+\r
+# AUXILLARY CACHE CONFIGURATION\r
+jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory\r
+jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes\r
+jcs.auxiliary.DC.attributes.DiskPath=${CACHE_DIRECTORY}\r
+\r
+\r
+# PRE-DEFINED REGION FOR LOOKUP DATA\r
+jcs.region.lookUpObjectCache=DC\r
+jcs.region.lookUpObjectCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes\r
+jcs.region.lookUpObjectCache.cacheattributes.MaxObjects=4000\r
+jcs.region.lookUpObjectCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache\r