<?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">
		<!-- This config should fail, defaultCache cannot define multiple ambiguous decrators -->
		<cacheDecoratorFactory
			class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="someKey=defaultDecoratorOne" />
		<cacheDecoratorFactory
			class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="someKey=defaultDecoratorTwo" />
	</defaultCache>

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

</ehcache>
