~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ehcache>
 
3
 
 
4
  <diskStore path="java.io.tmpdir"/>
 
5
 
 
6
  <defaultCache
 
7
    maxElementsInMemory="40000"
 
8
    eternal="false"
 
9
    timeToIdleSeconds="360"
 
10
    timeToLiveSeconds="360"
 
11
    overflowToDisk="false"
 
12
    diskPersistent="false"
 
13
    diskExpiryThreadIntervalSeconds="360"
 
14
    memoryStoreEvictionPolicy="LRU"
 
15
  />
 
16
 
 
17
  <!-- Hibernate entities -->
 
18
 
 
19
  <cache name="org.hisp.dhis.dataelement.DataElement"
 
20
    maxElementsInMemory="4000"
 
21
  />
 
22
 
 
23
  <cache name="org.hisp.dhis.dataelement.DataElementGroup"
 
24
    maxElementsInMemory="200"
 
25
  />
 
26
 
 
27
  <cache name="org.hisp.dhis.indicator.Indicator"
 
28
    maxElementsInMemory="1000"
 
29
  />
 
30
  
 
31
  <cache name="org.hisp.dhis.indicator.IndicatorGroup"
 
32
    maxElementsInMemory="200"
 
33
  />
 
34
  
 
35
  <cache name="org.hisp.dhis.indicator.IndicatorType"
 
36
    maxElementsInMemory="100"
 
37
  />
 
38
  
 
39
  <cache name="org.hisp.dhis.datadictionary.DataDictionary"
 
40
    maxElementsInMemory="200"
 
41
  />
 
42
  
 
43
  <cache name="org.hisp.dhis.user.User"
 
44
    maxElementsInMemory="200"
 
45
  />
 
46
 
 
47
  <cache name="org.hisp.dhis.user.UserSetting"
 
48
    maxElementsInMemory="200"
 
49
  />
 
50
 
 
51
  <cache name="org.hisp.dhis.user.UserCredentials"
 
52
    maxElementsInMemory="200"
 
53
  />
 
54
 
 
55
  <cache name="org.hisp.dhis.user.UserCredentials.userAuthorityGroups"
 
56
    maxElementsInMemory="200"
 
57
  />
 
58
 
 
59
  <cache name="org.hisp.dhis.options.SystemSetting"
 
60
    maxElementsInMemory="200"
 
61
  />
 
62
  
 
63
  <!-- Hibernate Query Cache -->
 
64
  
 
65
  <cache name="org.hibernate.cache.StandardQueryCache"
 
66
    maxElementsInMemory="200"
 
67
  />
 
68
 
 
69
  <cache name="org.hibernate.cache.UpdateTimestampsCache"
 
70
    maxElementsInMemory="200"
 
71
  />
 
72
 
 
73
</ehcache>