码迷,mamicode.com
首页 > 系统相关 > 详细

Ecache配置文件

时间:2015-07-31 01:26:49      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:

<?xml version="1.0" encoding="UTF-8"?>
<ehcache>
	<diskStore path="java.io.tmpdir" />

	<defaultCache maxElementsInMemory="1000" eternal="false"
		overflowToDisk="true" timeToIdleSeconds="300" timeToLiveSeconds="180"
		diskPersistent="false" diskExpiryThreadIntervalSeconds="120" />

	<cache name="org.hibernate.cache.internal.StandardQueryCache"
		maxElementsInMemory="1000" eternal="false" timeToLiveSeconds="120"
		overflowToDisk="true" />
	<cache name="org.hibernate.cache.spi.UpdateTimestampsCache"
		maxElementsInMemory="500" eternal="true" overflowToDisk="true" />

	<cache name="all" maxElementsInMemory="1000" eternal="false"
		overflowToDisk="true" timeToIdleSeconds="120" timeToLiveSeconds="120"
		diskPersistent="false" diskExpiryThreadIntervalSeconds="120" />
</ehcache>

Ecache配置文件

标签:

原文地址:http://blog.csdn.net/h249059945/article/details/47159801

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!