| 1 |
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd"> |
| 2 |
|
| 3 |
<defaultCache |
| 4 |
maxElementsInMemory="10" |
| 5 |
eternal="false" |
| 6 |
timeToIdleSeconds="5" |
| 7 |
timeToLiveSeconds="10" |
| 8 |
overflowToDisk="false" |
| 9 |
/> |
| 10 |
|
| 11 |
<!-- Sample cache named sampleCache1 --> |
| 12 |
<cache name="sampleCache1" |
| 13 |
maxElementsInMemory="10000" |
| 14 |
eternal="false" |
| 15 |
timeToIdleSeconds="360" |
| 16 |
timeToLiveSeconds="1000" |
| 17 |
overflowToDisk="false" |
| 18 |
/> |
| 19 |
|
| 20 |
<!-- Sample cache named sampleCache2 --> |
| 21 |
<cache name="sampleCache2" |
| 22 |
maxElementsInMemory="1000" |
| 23 |
eternal="true" |
| 24 |
timeToIdleSeconds="0" |
| 25 |
timeToLiveSeconds="0" |
| 26 |
overflowToDisk="false" |
| 27 |
/> |
| 28 |
|
| 29 |
</ehcache> |