parent
3348ed5bb3
commit
9e60340c0e
|
|
@ -69,7 +69,7 @@
|
||||||
<dom4j.version>1.6.1</dom4j.version>
|
<dom4j.version>1.6.1</dom4j.version>
|
||||||
<dropwizard-metrics.version>3.1.2</dropwizard-metrics.version>
|
<dropwizard-metrics.version>3.1.2</dropwizard-metrics.version>
|
||||||
<ehcache.version>2.10.2</ehcache.version>
|
<ehcache.version>2.10.2</ehcache.version>
|
||||||
<ehcache3.version>3.0.0</ehcache3.version>
|
<ehcache3.version>3.0.1</ehcache3.version>
|
||||||
<embedded-mongo.version>1.50.3</embedded-mongo.version>
|
<embedded-mongo.version>1.50.3</embedded-mongo.version>
|
||||||
<flyway.version>3.2.1</flyway.version>
|
<flyway.version>3.2.1</flyway.version>
|
||||||
<freemarker.version>2.3.23</freemarker.version>
|
<freemarker.version>2.3.23</freemarker.version>
|
||||||
|
|
|
||||||
|
|
@ -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'
|
<config xmlns='http://www.ehcache.org/v3'
|
||||||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
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: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">
|
<cache alias="countries">
|
||||||
<expiry>
|
<expiry>
|
||||||
<ttl unit="seconds">600</ttl>
|
<ttl unit="seconds">600</ttl>
|
||||||
</expiry>
|
</expiry>
|
||||||
<heap unit="entries">200</heap>
|
<heap unit="entries">200</heap>
|
||||||
|
<jsr107:mbeans enable-statistics="true"/>
|
||||||
</cache>
|
</cache>
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
Loading…
Reference in New Issue