<?xml version="1.0" encoding="UTF-8"?>

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

	<!-- Disable for test ehcache.xml. Should go to the same place. -->
	<diskStore path="java.io.tmpdir" />

	<defaultCache maxElementsInMemory="10" eternal="false"
		timeToIdleSeconds="5" timeToLiveSeconds="10" overflowToDisk="false">
		<cacheDecoratorFactory
			class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="someKey=defaultDecoratorKeyValue" />
	</defaultCache>

	<cache name="noDecoratorCache" eternal="false"
		maxElementsInMemory="1000" overflowToDisk="false" />

	<cache name="oneDecoratorCache" eternal="false"
		maxElementsInMemory="1000" overflowToDisk="false">
		<cacheDecoratorFactory
			class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=oneDecoratorCacheFirst, someKey=oneDecoratorCacheFirstKey" />
	</cache>
	
	<cache name="twoDecoratorCache" eternal="false"
		maxElementsInMemory="1000" overflowToDisk="false">
		<cacheDecoratorFactory
			class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=twoDecoratorCacheFirst, someKey=twoDecoratorCacheFirstKey" />
		<cacheDecoratorFactory
			class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=twoDecoratorCacheSecond, someKey=twoDecoratorCacheSecondKey" />
	</cache>

</ehcache>
