3 changed files with 63 additions and 62 deletions
@ -1,41 +1,41 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||||||
<ehcache updateCheck="false" name="defaultCache"> |
<ehcache updateCheck="false" name="defaultCache"> |
||||||
|
|
||||||
<diskStore path="../temp/hzinfo/ehcache" /> |
<diskStore path="../temp/hzinfo/ehcache" /> |
||||||
|
|
||||||
<!-- 默认缓存配置. --> |
<!-- 默认缓存配置. --> |
||||||
<defaultCache maxEntriesLocalHeap="100" eternal="false" |
<defaultCache maxEntriesLocalHeap="100" eternal="false" |
||||||
timeToIdleSeconds="300" timeToLiveSeconds="0" overflowToDisk="true" |
timeToIdleSeconds="300" timeToLiveSeconds="0" overflowToDisk="true" |
||||||
maxEntriesLocalDisk="100000" /> |
maxEntriesLocalDisk="100000" /> |
||||||
|
|
||||||
<!-- 系统缓存 --> |
<!-- 系统缓存 --> |
||||||
<cache name="sysCache" maxEntriesLocalHeap="100" eternal="true" |
<cache name="sysCache" maxEntriesLocalHeap="100" eternal="true" |
||||||
overflowToDisk="true" /> |
overflowToDisk="true" /> |
||||||
|
|
||||||
<!-- 用户缓存 --> |
<!-- 用户缓存 --> |
||||||
<cache name="userCache" maxEntriesLocalHeap="100" eternal="true" |
<cache name="userCache" maxEntriesLocalHeap="100" eternal="true" |
||||||
overflowToDisk="true" /> |
overflowToDisk="true" /> |
||||||
|
|
||||||
<!-- 数据配置缓存 --> |
<!-- 数据配置缓存 --> |
||||||
<cache name="dataCache" maxEntriesLocalHeap="100" eternal="true" |
<cache name="dataCache" maxEntriesLocalHeap="100" eternal="true" |
||||||
overflowToDisk="true" /> |
overflowToDisk="true" /> |
||||||
|
|
||||||
<!-- 简单页面缓存 --> |
<!-- 简单页面缓存 --> |
||||||
<cache name="SimplePageCachingFilter" maxEntriesLocalHeap="100" |
<cache name="SimplePageCachingFilter" maxEntriesLocalHeap="100" |
||||||
eternal="false" overflowToDisk="true" timeToIdleSeconds="120" |
eternal="false" overflowToDisk="true" timeToIdleSeconds="120" |
||||||
timeToLiveSeconds="120" memoryStoreEvictionPolicy="LFU" /> |
timeToLiveSeconds="120" memoryStoreEvictionPolicy="LFU" /> |
||||||
|
|
||||||
|
|
||||||
<!--接线方式缓存 --> |
<!--接线方式缓存 --> |
||||||
<cache name="LineType" maxEntriesLocalHeap="100" eternal="true" |
<cache name="LineType" maxEntriesLocalHeap="100" eternal="true" |
||||||
overflowToDisk="true" /> |
overflowToDisk="true" /> |
||||||
|
|
||||||
<!--行业类型缓存--> |
<!--行业类型缓存--> |
||||||
<cache name="IndustryType" maxEntriesLocalHeap="100" eternal="true" |
<cache name="IndustryType" maxEntriesLocalHeap="100" eternal="true" |
||||||
overflowToDisk="true" /> |
overflowToDisk="true" /> |
||||||
|
|
||||||
<!-- 设备数缓存 --> |
<!-- 设备数缓存 --> |
||||||
<cache name="DeviceTreeCache" maxEntriesLocalHeap="100" eternal="true" |
<cache name="DeviceTreeCache" maxEntriesLocalHeap="100" eternal="true" |
||||||
overflowToDisk="true" /> |
overflowToDisk="true" /> |
||||||
|
|
||||||
</ehcache> |
</ehcache> |
||||||
Loading…
Reference in new issue