| 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="copyOnReadCacheTcFalse" |
| 15 |
maxElementsInMemory="10" |
| 16 |
eternal="false" |
| 17 |
timeToIdleSeconds="5" |
| 18 |
timeToLiveSeconds="10" |
| 19 |
overflowToDisk="false" |
| 20 |
copyOnRead="true"> |
| 21 |
<terracotta copyOnRead="false"/> |
| 22 |
</cache> |
| 23 |
|
| 24 |
<cache name="nonCopyOnReadCacheTcTrue" |
| 25 |
maxElementsInMemory="10" |
| 26 |
eternal="false" |
| 27 |
timeToIdleSeconds="5" |
| 28 |
timeToLiveSeconds="10" |
| 29 |
overflowToDisk="false" |
| 30 |
copyOnRead="false"> |
| 31 |
<terracotta copyOnRead="true"/> |
| 32 |
</cache> |
| 33 |
|
| 34 |
<cache name="copyOnReadCacheTc" |
| 35 |
maxElementsInMemory="10" |
| 36 |
eternal="false" |
| 37 |
timeToIdleSeconds="5" |
| 38 |
timeToLiveSeconds="10" |
| 39 |
overflowToDisk="false"> |
| 40 |
<terracotta copyOnRead="true"/> |
| 41 |
</cache> |
| 42 |
|
| 43 |
<terracottaConfig url="notthere:9520"/> |
| 44 |
|
| 45 |
</ehcache> |