Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version='1.0' encoding='UTF-8'?>
<!-- Copyright (c) 2011 Leibniz Institute of Plant Genetics and Crop Plant 
	Research (IPK), Gatersleben, Germany. All rights reserved. This program and 
	the accompanying materials are made available under the terms of the GNU 
	Lesser Public License v2.1 which accompanies this distribution, and is available 
	at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html Contributors: Leibniz 
	Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany 
	- initial API and implementation -->
<ehcache>
	<diskStore path="java.io.tmpdir" />
	<defaultCache maxElementsInMemory="100000" eternal="false"
		timeToIdleSeconds="500" timeToLiveSeconds="500" overflowToDisk="false" />

	<cache name="org.hibernate.cache.spi.UpdateTimestampsCache"
		timeToIdleSeconds="0" timeToLiveSeconds="0" maxElementsInMemory="100000"
		eternal="true" overflowToDisk="false" />

	<cache name="org.hibernate.cache.internal.StandardQueryCache"
		maxElementsInMemory="10000" eternal="false" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<cache name="PrimaryDataDirectory" maxElementsInMemory="10000"
		eternal="false" timeToIdleSeconds="500" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<cache name="PrimaryDataFile" maxElementsInMemory="100000"
		eternal="false" timeToIdleSeconds="500" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<cache name="EdalPermission" maxElementsInMemory="100000"
		eternal="false" timeToIdleSeconds="500" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<cache name="EdalVersion" maxElementsInMemory="100000" eternal="false"
		timeToIdleSeconds="500" timeToLiveSeconds="500" overflowToDisk="false" />

	<cache name="query.list" maxElementsInMemory="100000" eternal="true"
		timeToIdleSeconds="500" timeToLiveSeconds="500" overflowToDisk="false" />

	<!-- cache providers for all queries of the security check -->

	<cache name="query.root" maxElementsInMemory="100000" eternal="false"
		timeToIdleSeconds="500" timeToLiveSeconds="500" overflowToDisk="false" />

	<cache name="query.permission" maxElementsInMemory="100000"
		eternal="false" timeToIdleSeconds="500" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<cache name="query.principal" maxElementsInMemory="100000"
		eternal="false" timeToIdleSeconds="500" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<!-- cache providers for all queries of the search functions -->

	<cache name="search.metadata" maxElementsInMemory="100000"
		eternal="false" timeToIdleSeconds="500" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<cache name="search.version" maxElementsInMemory="100000"
		eternal="false" timeToIdleSeconds="500" timeToLiveSeconds="500"
		overflowToDisk="false" />

	<cache name="search.entity" maxElementsInMemory="100000" eternal="false"
		timeToIdleSeconds="500" timeToLiveSeconds="500" overflowToDisk="false" />

	<!-- eternal=true deaktiviert die Rauemung des Cache durch timeout -->

</ehcache> 

New to GrepCode? Check out our FAQ X