Upgrade to EhCache 3.0.1
Closes gh-5898
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
|
||||
|
||||
#
|
||||
# JCache configuration (example with hazelcast).
|
||||
# JCache configuration (example with ehcache 3).
|
||||
#
|
||||
#spring.cache.jcache.config=hazelcast.xml
|
||||
#spring.cache.jcache.config=ehcache3.xml
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
<config xmlns='http://www.ehcache.org/v3'
|
||||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||||
xsi:schemaLocation="http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd">
|
||||
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:jsr107="http://www.ehcache.org/v3/jsr107"
|
||||
xsi:schemaLocation="http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd
|
||||
http://www.ehcache.org/v3/jsr107 http://www.ehcache.org/schema/ehcache-107-ext-3.0.xsd">
|
||||
<cache alias="countries">
|
||||
<expiry>
|
||||
<ttl unit="seconds">600</ttl>
|
||||
</expiry>
|
||||
<heap unit="entries">200</heap>
|
||||
<jsr107:mbeans enable-statistics="true"/>
|
||||
</cache>
|
||||
|
||||
</config>
|
||||
Reference in New Issue
Block a user