]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.hibernate/src/main/resources/org/argeo/slc/hibernate/ehcache.xml
Clean up server OSGi
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.hibernate / src / main / resources / org / argeo / slc / hibernate / ehcache.xml
diff --git a/runtime/org.argeo.slc.support.hibernate/src/main/resources/org/argeo/slc/hibernate/ehcache.xml b/runtime/org.argeo.slc.support.hibernate/src/main/resources/org/argeo/slc/hibernate/ehcache.xml
new file mode 100644 (file)
index 0000000..2aa369a
--- /dev/null
@@ -0,0 +1,54 @@
+<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:noNamespaceSchemaLocation="ehcache.xsd">
+
+       <diskStore path="java.io.tmpdir" />
+
+       <defaultCache maxElementsInMemory="10000" overflowToDisk="false" />
+
+       <cache name="org.argeo.slc.core.test.tree.TreeTestResult"
+               maxElementsInMemory="1000" />
+       <cache name="org.argeo.slc.core.test.tree.TreeTestResult.attributes"
+               maxElementsInMemory="1000" />
+       <cache name="org.argeo.slc.core.test.tree.PartSubList"
+               maxElementsInMemory="5000" />
+       <cache name="org.argeo.slc.core.test.tree.PartSubList.parts"
+               maxElementsInMemory="10000" />
+       <cache name="org.argeo.slc.core.test.SimpleResultPart"
+               maxElementsInMemory="10000" />
+       <cache name="org.argeo.slc.core.test.tree.TreeTestResult.resultParts"
+               maxElementsInMemory="10000" />
+       <cache name="org.argeo.slc.core.test.tree.TreeTestResult.elements"
+               maxElementsInMemory="10000" />
+       <cache name="org.argeo.slc.core.structure.SimpleSElement"
+               maxElementsInMemory="10000" />
+       <cache name="org.argeo.slc.core.structure.SimpleSElement.tags"
+               maxElementsInMemory="20000" />
+
+       <cache name="org.argeo.slc.core.test.tree.TreeTestResultCollection"
+               maxElementsInMemory="100" />
+       <cache name="org.argeo.slc.core.test.tree.TreeTestResultCollection.results"
+               maxElementsInMemory="1000" />
+
+       <cache name="org.argeo.slc.process.SlcExecution"
+               maxElementsInMemory="1000" />
+       <cache name="org.argeo.slc.process.SlcExecution.attributes"
+               maxElementsInMemory="5000" />
+       <cache name="org.argeo.slc.process.SlcExecution.steps"
+               maxElementsInMemory="10000" />
+       <cache name="org.argeo.slc.process.SlcExecutionStep"
+               maxElementsInMemory="10000" />
+       <cache name="org.argeo.slc.process.SlcExecutionStep.logLines"
+               maxElementsInMemory="100000" />
+
+       <cache name="org.argeo.slc.test.TestRunDescriptor"
+               maxElementsInMemory="1000" />
+
+       <cache name="org.argeo.slc.runtime.SlcAgentDescriptor"
+               maxElementsInMemory="100" />
+
+       <cache name="org.argeo.slc.core.attachment.SimpleAttachment"
+               maxElementsInMemory="100000" />
+       <cache name="org.argeo.slc.core.test.tree.TreeTestResult.attachments"
+               maxElementsInMemory="100000" />
+
+</ehcache>
\ No newline at end of file