1 |
ead0a1ab
|
Cherian Mathew
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<!--
|
3 |
|
|
from http://ehcache.org/ehcache.xml :
|
4 |
|
|
|
5 |
|
|
CacheManager Configuration
|
6 |
|
|
==========================
|
7 |
|
|
An ehcache.xml corresponds to a single CacheManager.
|
8 |
|
|
|
9 |
|
|
See instructions below or the ehcache schema (ehcache.xsd) on how to configure.
|
10 |
|
|
|
11 |
|
|
System property tokens can be specified in this file which are replaced when the configuration
|
12 |
|
|
is loaded. For example multicastGroupPort=${multicastGroupPort} can be replaced with the
|
13 |
|
|
System property either from an environment variable or a system property specified with a
|
14 |
|
|
command line switch such as -DmulticastGroupPort=4446. Another example, useful for Terracotta
|
15 |
|
|
server based deployments is <terracottaConfig url="${serverAndPort}"/ and specify a command line
|
16 |
|
|
switch of -Dserver36:9510
|
17 |
|
|
|
18 |
|
|
The attributes of <ehcache> are:
|
19 |
|
|
* name - an optional name for the CacheManager. The name is optional and primarily used
|
20 |
|
|
for documentation or to distinguish Terracotta clustered cache state. With Terracotta
|
21 |
|
|
clustered caches, a combination of CacheManager name and cache name uniquely identify a
|
22 |
|
|
particular cache store in the Terracotta clustered memory.
|
23 |
|
|
* updateCheck - an optional boolean flag specifying whether this CacheManager should check
|
24 |
|
|
for new versions of Ehcache over the Internet. If not specified, updateCheck="true".
|
25 |
|
|
* dynamicConfig - an optional setting that can be used to disable dynamic configuration of caches
|
26 |
|
|
associated with this CacheManager. By default this is set to true - i.e. dynamic configuration
|
27 |
|
|
is enabled. Dynamically configurable caches can have their TTI, TTL and maximum disk and
|
28 |
|
|
in-memory capacity changed at runtime through the cache's configuration object.
|
29 |
|
|
* monitoring - an optional setting that determines whether the CacheManager should
|
30 |
|
|
automatically register the SampledCacheMBean with the system MBean server.
|
31 |
|
|
|
32 |
|
|
Currently, this monitoring is only useful when using Terracotta clustering and using the
|
33 |
|
|
Terracotta Developer Console. With the "autodetect" value, the presence of Terracotta clustering
|
34 |
|
|
will be detected and monitoring, via the Developer Console, will be enabled. Other allowed values
|
35 |
|
|
are "on" and "off". The default is "autodetect". This setting does not perform any function when
|
36 |
|
|
used with JMX monitors.
|
37 |
|
|
-->
|
38 |
|
|
<ehcache>
|
39 |
|
|
<!--
|
40 |
|
|
diskStore: see http://www.ehcache.org/documentation/user-guide/storage-options#ltdiskstoregt-configuration-element
|
41 |
|
|
-->
|
42 |
|
|
<diskStore path="user.home/.cdm-server-ehcache" />
|
43 |
|
|
<defaultCache maxElementsInMemory="10" eternal="false"
|
44 |
|
|
timeToIdleSeconds="120" timeToLiveSeconds="120" overflowToDisk="true" />
|
45 |
|
|
<cache
|
46 |
|
|
name="eu.etaxonomy.cdm.remote.controller.oaipmh.TaxonOaiPmhController.resumptionToken"
|
47 |
|
|
eternal="false" maxElementsInMemory="25"
|
48 |
|
|
overflowToDisk="true" timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
49 |
|
|
<!--
|
50 |
|
|
<cache
|
51 |
|
|
name="eu.etaxonomy.cdm.remote.controller.oaipmh.TaxonOaiPmhController.resumptionToken"
|
52 |
|
|
eternal="false" maxElementsInMemory="25"
|
53 |
|
|
maxElementsOnDisk="50"
|
54 |
|
|
overflowToDisk="true" timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
55 |
|
|
<cache
|
56 |
|
|
name="org.cateproject.controller.remoting.SearchProxyController.getBiodiversityHeritageLibrary"
|
57 |
|
|
eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
|
58 |
|
|
overflowToDisk="true" timeToIdleSeconds="0"
|
59 |
|
|
timeToLiveSeconds="86400"/> <cache
|
60 |
|
|
name="org.cateproject.controller.remoting.SearchProxyController.getEntrez"
|
61 |
|
|
eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
|
62 |
|
|
overflowToDisk="true" timeToIdleSeconds="0"
|
63 |
|
|
timeToLiveSeconds="86400"/> <cache
|
64 |
|
|
name="org.cateproject.controller.remoting.SearchProxyController.getGbif"
|
65 |
|
|
eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
|
66 |
|
|
overflowToDisk="true" timeToIdleSeconds="0"
|
67 |
|
|
timeToLiveSeconds="86400"/> <cache
|
68 |
|
|
name="org.hibernate.cache.StandardQueryCache" maxElementsInMemory="50"
|
69 |
|
|
eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
|
70 |
|
|
timeToLiveSeconds="86400" /> <cache
|
71 |
|
|
name="org.hibernate.cache.UpdateTimestampsCache"
|
72 |
|
|
maxElementsInMemory="50" eternal="false" overflowToDisk="true"
|
73 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" /> <cache
|
74 |
|
|
name="org.cateproject.view.CATEViewPreparer.getTaxonTree"
|
75 |
|
|
maxElementsInMemory="5" eternal="false" timeToIdleSeconds="120"
|
76 |
|
|
timeToLiveSeconds="120" overflowToDisk="true"/>
|
77 |
|
|
-->
|
78 |
|
|
<cache name="org.jbpm.graph.def.Node" maxElementsInMemory="5"
|
79 |
|
|
eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
|
80 |
|
|
timeToLiveSeconds="86400" />
|
81 |
|
|
<cache name="org.jbpm.graph.def.ExceptionHandler"
|
82 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
83 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
84 |
|
|
<cache name="org.jbpm.module.def.ModuleDefinition"
|
85 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
86 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
87 |
|
|
<cache name="org.jbpm.graph.def.Event" maxElementsInMemory="5"
|
88 |
|
|
eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
|
89 |
|
|
timeToLiveSeconds="86400" />
|
90 |
|
|
<cache name="org.jbpm.graph.def.Action" maxElementsInMemory="5"
|
91 |
|
|
eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
|
92 |
|
|
timeToLiveSeconds="86400" />
|
93 |
|
|
<cache name="org.jbpm.graph.def.Transition" maxElementsInMemory="5"
|
94 |
|
|
eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
|
95 |
|
|
timeToLiveSeconds="86400" />
|
96 |
|
|
<cache name="org.jbpm.taskmgmt.def.TaskController"
|
97 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
98 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
99 |
|
|
<cache name="org.jbpm.instantiation.Delegation"
|
100 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
101 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
102 |
|
|
<cache name="org.jbpm.taskmgmt.def.Task" maxElementsInMemory="5"
|
103 |
|
|
eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
|
104 |
|
|
timeToLiveSeconds="86400" />
|
105 |
|
|
<cache name="org.jbpm.graph.def.ProcessDefinition"
|
106 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
107 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
108 |
|
|
<cache name="org.jbpm.context.def.VariableAccess"
|
109 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
110 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
111 |
|
|
<cache name="org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks"
|
112 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
113 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
114 |
|
|
<cache name="org.jbpm.graph.node.ProcessState.variableAccesses"
|
115 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
116 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
117 |
|
|
<cache name="org.jbpm.taskmgmt.def.Swimlane.tasks"
|
118 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
119 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
120 |
|
|
<cache name="org.jbpm.graph.def.ProcessDefinition.exceptionHandlers"
|
121 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
122 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
123 |
|
|
<cache name="org.jbpm.graph.def.Transition.exceptionHandlers"
|
124 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
125 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
126 |
|
|
<cache name="org.jbpm.graph.def.ProcessDefinition.nodes"
|
127 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
128 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
129 |
|
|
<cache name="org.jbpm.graph.node.TaskNode.tasks"
|
130 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
131 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
132 |
|
|
<cache name="org.jbpm.graph.def.Node.arrivingTransitions"
|
133 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
134 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
135 |
|
|
<cache name="org.jbpm.graph.def.Node.events" maxElementsInMemory="5"
|
136 |
|
|
eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
|
137 |
|
|
timeToLiveSeconds="86400" />
|
138 |
|
|
<cache name="org.jbpm.graph.action.Script.variableAccesses"
|
139 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
140 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
141 |
|
|
<cache name="org.jbpm.graph.def.ProcessDefinition.events"
|
142 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
143 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
144 |
|
|
<cache name="org.jbpm.graph.def.Node.leavingTransitions"
|
145 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
146 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
147 |
|
|
<cache name="org.jbpm.taskmgmt.def.TaskController.variableAccesses"
|
148 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
149 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
150 |
|
|
<cache name="org.jbpm.graph.node.Decision.decisionConditions"
|
151 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
152 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
153 |
|
|
<cache name="org.jbpm.file.def.FileDefinition.processFiles"
|
154 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
155 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
156 |
|
|
<cache name="org.jbpm.graph.def.ProcessDefinition.actions"
|
157 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
158 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
159 |
|
|
<cache name="org.jbpm.graph.def.ProcessDefinition.definitions"
|
160 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
161 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
162 |
|
|
<cache name="org.jbpm.graph.def.Event.actions"
|
163 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
164 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
165 |
|
|
<cache name="org.jbpm.taskmgmt.def.Task.events"
|
166 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
167 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
168 |
|
|
<cache name="org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes"
|
169 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
170 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
171 |
|
|
<cache name="org.jbpm.graph.def.SuperState.nodes"
|
172 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
173 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
174 |
|
|
<cache name="org.jbpm.graph.def.ExceptionHandler.actions"
|
175 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
176 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
177 |
|
|
<cache name="org.jbpm.taskmgmt.def.Task.exceptionHandlers"
|
178 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
179 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
180 |
|
|
<cache name="org.jbpm.graph.def.Node.exceptionHandlers"
|
181 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
182 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
183 |
|
|
<cache name="org.jbpm.graph.def.Transition.events"
|
184 |
|
|
maxElementsInMemory="5" eternal="false" overflowToDisk="true"
|
185 |
|
|
timeToIdleSeconds="0" timeToLiveSeconds="86400" />
|
186 |
|
|
</ehcache>
|