| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 |
xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd"> |
| 5 |
|
| 6 |
<defaultCache |
| 7 |
maxElementsInMemory="10" |
| 8 |
eternal="false" |
| 9 |
timeToIdleSeconds="5" |
| 10 |
timeToLiveSeconds="10" |
| 11 |
overflowToDisk="true" |
| 12 |
/> |
| 13 |
|
| 14 |
<cache name="copyOnReadCache" |
| 15 |
maxElementsInMemory="10" |
| 16 |
eternal="false" |
| 17 |
timeToIdleSeconds="5" |
| 18 |
timeToLiveSeconds="10" |
| 19 |
overflowToDisk="true" |
| 20 |
copyOnRead="true"> |
| 21 |
</cache> |
| 22 |
|
| 23 |
<cache name="copyOnWriteCache" |
| 24 |
maxElementsInMemory="10" |
| 25 |
eternal="false" |
| 26 |
timeToIdleSeconds="5" |
| 27 |
timeToLiveSeconds="10" |
| 28 |
overflowToDisk="true" |
| 29 |
copyOnWrite="true"> |
| 30 |
</cache> |
| 31 |
|
| 32 |
<cache name="copyCache" |
| 33 |
maxElementsInMemory="10" |
| 34 |
eternal="false" |
| 35 |
timeToIdleSeconds="5" |
| 36 |
timeToLiveSeconds="10" |
| 37 |
overflowToDisk="false" |
| 38 |
copyOnRead="true" |
| 39 |
copyOnWrite="true"> |
| 40 |
<copyStrategy class="net.sf.ehcache.config.FakeCopyStrategy"/> |
| 41 |
</cache> |
| 42 |
|
| 43 |
<cache name="nonCopyXACache" |
| 44 |
maxElementsInMemory="10" |
| 45 |
eternal="false" |
| 46 |
timeToIdleSeconds="5" |
| 47 |
timeToLiveSeconds="10" |
| 48 |
overflowToDisk="true" |
| 49 |
transactionalMode="xa_strict" |
| 50 |
copyOnRead="false" |
| 51 |
copyOnWrite="false"/> |
| 52 |
</ehcache> |