I am searching for a way to make the default eviction of infinispan work with the TreeCache implementation. By now I searched the documentation and google but found nothing that fits my question. This is the current configuration of the cache in the infinispan xml:
<distributed-cache name="example">
<transaction mode="BATCH" locking="PESSIMISTIC"/>
<memory>
<object size="10" />
</memory>
</distributed-cache>
Now my question is, is there a simple way I just have not found by now or do I have to create my own EvictionManager and handle it by my self?