首页 > 系统服务 > 详细

Ecache配置文件

时间:2015-07-31 01:26:03      阅读:174      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!