-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy pathehcache.xml
More file actions
25 lines (20 loc) · 835 Bytes
/
ehcache.xml
File metadata and controls
25 lines (20 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns='http://www.ehcache.org/v3'
xsi:schemaLocation="http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd">
<!--http://www.ehcache.org/documentation/3.8/xml.html-->
<!--http://www.ehcache.org/documentation/3.8/107.html#supplement-jsr-107-configurations-->
<!--<persistence directory="${user.home}/cache-data"/>-->
<cache-template name="expiryCache">
<expiry>
<ttl unit="minutes">5</ttl>
</expiry>
<heap unit="entries">5000</heap>
</cache-template>
<cache-template name="singleNonExpiryCache">
<expiry>
<none/>
</expiry>
<heap>1</heap>
</cache-template>
<cache alias="users" uses-template="singleNonExpiryCache"/>
</config>