Debian Codegraph @

src/test/perfResources/ehcache-big.xml

raw
1 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd">
2
3 <!-- Sets the path to the directory where cache .data files are created.
4
5 If the path is a Java System Property it is replaced by
6 its value in the running VM. Subdirectories can be specified below the property e.g. java.io.tmpdir/one
7
8 The following properties are translated:
9 user.home - User's home directory
10 user.dir - User's current working directory
11 java.io.tmpdir - Default temp file path -->
12 <diskStore path="user.dir/target/diskStore/ehcache-big"/>
13
14
15 <!--Default Cache configuration. These will applied to caches programmatically created through
16 the CacheManager.
17
18 The following attributes are required:
19
20 maxElementsInMemory - Sets the maximum number of objects that will be created in memory
21 eternal - Sets whether elements are eternal. If eternal, timeouts are ignored and the
22 element is never expired.
23 overflowToDisk - Sets whether elements can overflow to disk when the in-memory cache
24 has reached the maxInMemory limit.
25
26 The following attributes are optional:
27 timeToIdleSeconds - Sets the time to idle for an element before it expires.
28 i.e. The maximum amount of time between accesses before an element expires
29 Is only used if the element is not eternal.
30 Optional attribute. A value of 0 means that an Element can idle for infinity.
31 The default value is 0.
32 timeToLiveSeconds - Sets the time to live for an element before it expires.
33 i.e. The maximum time between creation time and when an element expires.
34 Is only used if the element is not eternal.
35 Optional attribute. A value of 0 means that and Element can live for infinity.
36 The default value is 0.
37 diskPersistent - Whether the disk store persists between restarts of the Virtual Machine.
38 The default value is false.
39 diskExpiryThreadIntervalSeconds- The number of seconds between runs of the disk expiry thread. The default value
40 is 120 seconds.
41 -->
42
43 <defaultCache
44 maxElementsInMemory="10"
45 eternal="false"
46 timeToIdleSeconds="5"
47 timeToLiveSeconds="10"
48 overflowToDisk="false"
49 />
50
51 <!-- Non hibernate caches. e.g. page caches, collection caches, whatever -->
52 <cache name="1"
53 maxElementsInMemory="20"
54 eternal="false"
55 timeToLiveSeconds="600"
56 overflowToDisk="false"
57 />
58
59 <cache name="2"
60 maxElementsInMemory="150"
61 eternal="false"
62 timeToLiveSeconds="120"
63 overflowToDisk="false"
64 />
65
66 <cache name="3"
67 maxElementsInMemory="50"
68 eternal="false"
69 timeToLiveSeconds="120"
70 overflowToDisk="false"
71 />
72
73 <cache name="4"
74 maxElementsInMemory="20"
75 eternal="false"
76 timeToLiveSeconds="120"
77 overflowToDisk="false"
78 />
79
80 <cache name="5"
81 maxElementsInMemory="250"
82 eternal="true"
83 overflowToDisk="false"
84 />
85
86 <cache name="6"
87 maxElementsInMemory="2"
88 eternal="true"
89 overflowToDisk="false"
90 />
91
92 <cache name="7"
93 maxElementsInMemory="2"
94 eternal="true"
95 overflowToDisk="false"
96 />
97
98 <cache name="8"
99 maxElementsInMemory="30"
100 eternal="true"
101 overflowToDisk="false"
102 />
103
104 <cache name="9"
105 maxElementsInMemory="60"
106 eternal="false"
107 timeToIdleSeconds="1800"
108 timeToLiveSeconds="86400"
109 overflowToDisk="false"
110 />
111
112 <cache name="10"
113 maxElementsInMemory="100"
114 eternal="false"
115 timeToIdleSeconds="1800"
116 overflowToDisk="false"
117 />
118
119 <cache name="11"
120 maxElementsInMemory="30"
121 eternal="true"
122 overflowToDisk="false"
123 />
124
125 <cache name="12"
126 maxElementsInMemory="200"
127 eternal="true"
128 overflowToDisk="false"
129 />
130
131 <cache name="13"
132 maxElementsInMemory="20"
133 eternal="true"
134 overflowToDisk="false"
135 />
136
137 <cache name="14"
138 maxElementsInMemory="30"
139 eternal="true"
140 overflowToDisk="false"
141 />
142
143 <cache name="15"
144 maxElementsInMemory="30"
145 eternal="true"
146 overflowToDisk="false"
147 />
148
149 <cache name="16"
150 maxElementsInMemory="20"
151 eternal="true"
152 overflowToDisk="false"
153 />
154
155 <cache name="17"
156 maxElementsInMemory="100"
157 eternal="false"
158 timeToIdleSeconds="1500"
159 overflowToDisk="false"
160 />
161
162 <cache name="18"
163 maxElementsInMemory="1"
164 eternal="true"
165 overflowToDisk="false"
166 />
167
168 <cache name="19"
169 maxElementsInMemory="1"
170 eternal="true"
171 overflowToDisk="false"
172 />
173
174 <cache name="20"
175 maxElementsInMemory="5"
176 eternal="false"
177 timeToIdleSeconds="86400"
178 timeToLiveSeconds="604800"
179 overflowToDisk="false"
180 />
181
182 <cache name="21"
183 maxElementsInMemory="10"
184 eternal="false"
185 timeToLiveSeconds="86400"
186 overflowToDisk="false"
187 diskPersistent="true"
188 />
189
190 <!-- Hibernate Query Caches
191 These caches store the results of a Hibernate query run with particular parameters.
192 For a query that returns domain objects, only the id values are cached. -->
193 <cache name="net.sf.hibernate.cache.QueryCache"
194 maxElementsInMemory="5"
195 eternal="false"
196 timeToLiveSeconds="120"
197 overflowToDisk="false"/>
198
199 <cache name="net.sf.hibernate.cache.UpdateTimestampsCache"
200 maxElementsInMemory="5000"
201 eternal="false"
202 timeToLiveSeconds="3600"
203 overflowToDisk="false"/>
204
205 <cache name="query.23"
206 maxElementsInMemory="5"
207 eternal="false"
208 timeToLiveSeconds="86400"
209 overflowToDisk="false"/>
210
211 <cache name="query.24"
212 maxElementsInMemory="5"
213 eternal="false"
214 timeToLiveSeconds="86400"
215 overflowToDisk="false"/>
216
217 <cache name="query.25"
218 maxElementsInMemory="1"
219 eternal="false"
220 timeToLiveSeconds="86400"
221 overflowToDisk="false"/>
222
223 <!-- Hibernate Domain Object Caches
224 Hibernate expects the cache to be named after the fully
225 qualifed name of the Domain Object class -->
226 <cache name="domain.26"
227 maxElementsInMemory="5"
228 eternal="false"
229 timeToLiveSeconds="600"
230 overflowToDisk="false"
231 />
232
233 <cache name="domain.27"
234 maxElementsInMemory="50"
235 eternal="false"
236 timeToLiveSeconds="600"
237 overflowToDisk="false"
238 />
239 <cache name="domain.28"
240 maxElementsInMemory="450"
241 eternal="false"
242 timeToLiveSeconds="600"
243 overflowToDisk="false"
244 />
245 <cache name="domain.29"
246 maxElementsInMemory="30"
247 eternal="false"
248 timeToLiveSeconds="600"
249 overflowToDisk="false"
250 />
251 <cache name="domain.30"
252 maxElementsInMemory="20"
253 eternal="false"
254 timeToLiveSeconds="86400"
255 overflowToDisk="false"
256 />
257 <cache name="domain.31"
258 maxElementsInMemory="50"
259 eternal="false"
260 timeToLiveSeconds="600"
261 overflowToDisk="false"
262 />
263 <cache name="domain.32"
264 maxElementsInMemory="1200"
265 eternal="false"
266 timeToLiveSeconds="120"
267 overflowToDisk="false"
268 />
269 <cache name="domain.33"
270 maxElementsInMemory="200"
271 eternal="false"
272 timeToLiveSeconds="600"
273 overflowToDisk="false"
274 />
275
276 <cache name="domain.34"
277 maxElementsInMemory="20"
278 eternal="false"
279 timeToLiveSeconds="600"
280 overflowToDisk="false"
281 />
282 <cache name="domain.35"
283 maxElementsInMemory="10"
284 eternal="false"
285 timeToLiveSeconds="86400"
286 overflowToDisk="false"
287 />
288 <cache name="domain.36"
289 maxElementsInMemory="2000"
290 eternal="false"
291 timeToLiveSeconds="600"
292 overflowToDisk="false"
293 />
294 <cache name="domain.37"
295 maxElementsInMemory="30"
296 eternal="false"
297 timeToLiveSeconds="600"
298 overflowToDisk="false"
299 />
300 <cache name="domain.38"
301 maxElementsInMemory="2000"
302 eternal="false"
303 timeToLiveSeconds="600"
304 overflowToDisk="false"
305 />
306 <cache name="domain.39"
307 maxElementsInMemory="200"
308 eternal="false"
309 timeToLiveSeconds="600"
310 overflowToDisk="false"
311 />
312 <cache name="domain.40"
313 maxElementsInMemory="200"
314 eternal="false"
315 timeToLiveSeconds="600"
316 overflowToDisk="false"
317 />
318 <cache name="domain.41"
319 maxElementsInMemory="20"
320 eternal="false"
321 timeToLiveSeconds="86400"
322 overflowToDisk="false"
323 />
324 <cache name="domain.42"
325 maxElementsInMemory="400"
326 eternal="false"
327 timeToLiveSeconds="86400"
328 overflowToDisk="false"
329 />
330
331 <cache name="domain.43"
332 maxElementsInMemory="1800"
333 eternal="false"
334 timeToLiveSeconds="600"
335 overflowToDisk="false"
336 />
337 <cache name="domain.44"
338 maxElementsInMemory="30"
339 eternal="false"
340 timeToLiveSeconds="600"
341 overflowToDisk="false"
342 />
343 <cache name="domain.45"
344 maxElementsInMemory="5000"
345 eternal="false"
346 timeToLiveSeconds="600"
347 overflowToDisk="false"
348 />
349 <cache name="domain.46"
350 maxElementsInMemory="5000"
351 eternal="false"
352 timeToLiveSeconds="600"
353 overflowToDisk="false"
354 />
355 <cache name="domain.47"
356 maxElementsInMemory="5000"
357 eternal="false"
358 timeToLiveSeconds="600"
359 overflowToDisk="false"
360 />
361 <cache name="domain.48"
362 maxElementsInMemory="5000"
363 eternal="false"
364 timeToLiveSeconds="600"
365 overflowToDisk="false"
366 />
367 <cache name="domain.49"
368 maxElementsInMemory="20"
369 eternal="false"
370 timeToLiveSeconds="3600"
371 overflowToDisk="false"
372 />
373 <cache name="domain.50"
374 maxElementsInMemory="100"
375 eternal="false"
376 timeToLiveSeconds="86400"
377 overflowToDisk="false"
378 />
379 <cache name="domain.51"
380 maxElementsInMemory="15"
381 eternal="false"
382 timeToLiveSeconds="86400"
383 overflowToDisk="false"
384 />
385 <cache name="domain.52"
386 maxElementsInMemory="5"
387 eternal="false"
388 timeToLiveSeconds="86400"
389 overflowToDisk="false"
390 />
391 <cache name="domain.53"
392 maxElementsInMemory="200"
393 eternal="false"
394 timeToLiveSeconds="86400"
395 overflowToDisk="false"
396 />
397 <cache name="domain.54"
398 maxElementsInMemory="1000"
399 eternal="false"
400 timeToLiveSeconds="86400"
401 overflowToDisk="false"
402 />
403 <cache name="com.xyzcompany.division.project.domain.55"
404 maxElementsInMemory="100"
405 eternal="false"
406 timeToLiveSeconds="600"
407 overflowToDisk="false"
408 />
409 <cache name="com.xyzcompany.division.project.domain.56"
410 maxElementsInMemory="10"
411 eternal="false"
412 timeToLiveSeconds="100"
413 overflowToDisk="false"
414 />
415 <cache name="com.xyzcompany.division.project.domain.57"
416 maxElementsInMemory="10"
417 eternal="false"
418 timeToLiveSeconds="100"
419 overflowToDisk="false"
420 />
421 <cache name="com.xyzcompany.division.project.59"
422 maxElementsInMemory="10"
423 eternal="false"
424 timeToLiveSeconds="60"
425 overflowToDisk="false"
426 />
427 <cache name="com.xyzcompany.division.project.60"
428 maxElementsInMemory="4000"
429 eternal="false"
430 timeToLiveSeconds="600"
431 overflowToDisk="false"
432 />
433
434 <cache name="com.xyzcompany.division.project.61"
435 maxElementsInMemory="1000"
436 eternal="false"
437 timeToLiveSeconds="600"
438 overflowToDisk="false"
439 />
440 <cache name="com.xyzcompany.division.project.62"
441 maxElementsInMemory="100"
442 eternal="false"
443 timeToLiveSeconds="86400"
444 overflowToDisk="false"
445 />
446 <cache name="com.xyzcompany.division.project.63"
447 maxElementsInMemory="1000"
448 eternal="false"
449 timeToLiveSeconds="86400"
450 overflowToDisk="false"
451 />
452 <cache name="com.xyzcompany.division.project.64"
453 maxElementsInMemory="100"
454 eternal="false"
455 timeToLiveSeconds="86400"
456 overflowToDisk="false"
457 />
458 <cache name="com.xyzcompany.division.project.65"
459 maxElementsInMemory="10"
460 eternal="false"
461 timeToLiveSeconds="86400"
462 overflowToDisk="false"
463 />
464 <cache name="com.xyzcompany.division.project.66"
465 maxElementsInMemory="100"
466 eternal="false"
467 timeToLiveSeconds="600"
468 overflowToDisk="false"
469 />
470 <cache name="com.xyzcompany.division.project.67"
471 maxElementsInMemory="10"
472 eternal="false"
473 timeToLiveSeconds="86400"
474 overflowToDisk="false"
475 />
476 <cache name="com.xyzcompany.division.project.68"
477 maxElementsInMemory="100"
478 eternal="false"
479 timeToLiveSeconds="600"
480 overflowToDisk="false"
481 />
482 <cache name="com.xyzcompany.division.project.69"
483 maxElementsInMemory="10"
484 eternal="false"
485 timeToLiveSeconds="86400"
486 overflowToDisk="false"
487 />
488 </ehcache>