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