src/test/resources/terracotta/ehcache-terracotta-offheap.xml
raw| 1 | <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd" name="tc" updateCheck="false"> |
| 2 | |
| 3 | <defaultCache |
| 4 | maxElementsInMemory="1000" |
| 5 | overflowToDisk="false"> |
| 6 | <terracotta/> |
| 7 | </defaultCache> |
| 8 | |
| 9 | <cache name="clustered-with-offheap" |
| 10 | maxElementsInMemory="1000" |
| 11 | overflowToOffHeap="true" |
| 12 | maxMemoryOffHeap="128m"> |
| 13 | <terracotta/> |
| 14 | </cache> |
| 15 | <terracottaConfig url="localhost:9510"/> |
| 16 | </ehcache> |