<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd" name="tc" updateCheck="false">

    <defaultCache
            maxElementsInMemory="1000"
            overflowToDisk="false">
            <terracotta/>
    </defaultCache>

    <cache name="clustered-with-offheap"
           maxElementsInMemory="1000"
           overflowToOffHeap="true"
           maxMemoryOffHeap="128m">
           <terracotta/>
    </cache>
    <terracottaConfig url="localhost:9510"/>
</ehcache>
