| 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 maxElementsInMemory="10" eternal="false" |
| 7 |
timeToIdleSeconds="5" timeToLiveSeconds="10" overflowToDisk="true" /> |
| 8 |
|
| 9 |
<cache name="offheap1" maxElementsInMemory="10" |
| 10 |
eternal="false" timeToIdleSeconds="5" timeToLiveSeconds="10" |
| 11 |
overflowToDisk="true" copyOnRead="true" |
| 12 |
overflowToOffHeap="true" maxMemoryOffHeap="16M"> |
| 13 |
</cache> |
| 14 |
|
| 15 |
<cache name="offheap2" maxElementsInMemory="10" |
| 16 |
eternal="false" timeToIdleSeconds="5" timeToLiveSeconds="10" |
| 17 |
overflowToDisk="true" copyOnRead="true" |
| 18 |
overflowToOffHeap="false" maxMemoryOffHeap="2G"> |
| 19 |
</cache> |
| 20 |
|
| 21 |
</ehcache> |