Project

General

Profile

1
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
         xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="true"
3
         monitoring="autodetect" dynamicConfig="true">
4

    
5
	<!-- By default, Ehcache stored the cached files in temp folder. -->
6
	<diskStore path="java.io.tmpdir" />
7

    
8
	<cache name="fundingpath-ids"
9
	       maxEntriesLocalHeap="100"
10
	       maxEntriesLocalDisk="100"
11
	       eternal="false"
12
	       diskSpoolBufferSizeMB="1"
13
	       timeToIdleSeconds="86400" timeToLiveSeconds="86400"
14
	       memoryStoreEvictionPolicy="LFU"
15
	       transactionalMode="off">
16
		<persistence strategy="localTempSwap" />
17
	</cache>
18

    
19
	<cache name="datasources-is-cache"
20
	       maxEntriesLocalHeap="10"
21
	       maxEntriesLocalDisk="10"
22
	       eternal="false"
23
	       diskSpoolBufferSizeMB="1"
24
	       timeToIdleSeconds="43200" timeToLiveSeconds="43200"
25
	       memoryStoreEvictionPolicy="LFU"
26
	       transactionalMode="off">
27
		<persistence strategy="localTempSwap" />
28
	</cache>
29

    
30
	<cache name="datasources-mongo-cache"
31
	       maxEntriesLocalHeap="1000"
32
	       maxEntriesLocalDisk="1000"
33
	       eternal="false"
34
	       diskSpoolBufferSizeMB="10"
35
	       timeToIdleSeconds="3600" timeToLiveSeconds="3600"
36
	       memoryStoreEvictionPolicy="LFU"
37
	       transactionalMode="off">
38
		<persistence strategy="localTempSwap" />
39
	</cache>
40

    
41
	<cache name="vocabularies-cache"
42
	       maxEntriesLocalHeap="1000"
43
	       maxEntriesLocalDisk="1000"
44
	       eternal="false"
45
	       diskSpoolBufferSizeMB="10"
46
	       timeToIdleSeconds="86400" timeToLiveSeconds="86400"
47
	       memoryStoreEvictionPolicy="LFU"
48
	       transactionalMode="off">
49
		<persistence strategy="localTempSwap" />
50
	</cache>
51

    
52

    
53
</ehcache>
(3-3/4)