parent
334f3e08ae
commit
50aa2b60e5
@ -1,18 +1,3 @@
|
|||||||
management.endpoints.web.exposure.include=*
|
management.endpoints.web.exposure.include=*
|
||||||
|
|
||||||
#
|
spring.cache.jcache.config=classpath:ehcache3.xml
|
||||||
# Infinispan configuration file location.
|
|
||||||
#
|
|
||||||
spring.cache.infinispan.config=classpath:infinispan.xml
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# JCache configuration (example with ehcache 3).
|
|
||||||
#
|
|
||||||
#spring.cache.jcache.config=classpath:ehcache3.xml
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# Caffeine configuration
|
|
||||||
#
|
|
||||||
spring.cache.caffeine.spec=maximumSize=200,expireAfterAccess=600s
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:noNamespaceSchemaLocation="ehcache.xsd">
|
|
||||||
<cache name="countries"
|
|
||||||
maxEntriesLocalHeap="200"
|
|
||||||
timeToLiveSeconds="600">
|
|
||||||
</cache>
|
|
||||||
</ehcache>
|
|
@ -1,24 +0,0 @@
|
|||||||
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.12.xsd"
|
|
||||||
xmlns="http://www.hazelcast.com/schema/config"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
|
|
||||||
<map name="countries">
|
|
||||||
<time-to-live-seconds>600</time-to-live-seconds>
|
|
||||||
<max-size>200</max-size>
|
|
||||||
</map>
|
|
||||||
|
|
||||||
<cache name="countries">
|
|
||||||
<eviction size="200"/>
|
|
||||||
|
|
||||||
<statistics-enabled>true</statistics-enabled>
|
|
||||||
<management-enabled>true</management-enabled>
|
|
||||||
</cache>
|
|
||||||
|
|
||||||
<network>
|
|
||||||
<join>
|
|
||||||
<tcp-ip enabled="false"/>
|
|
||||||
<multicast enabled="false"/>
|
|
||||||
</join>
|
|
||||||
</network>
|
|
||||||
|
|
||||||
</hazelcast>
|
|
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<infinispan>
|
|
||||||
|
|
||||||
<cache-container default-cache="default">
|
|
||||||
<local-cache name="default"/>
|
|
||||||
<local-cache name="countries">
|
|
||||||
<eviction max-entries="200"/>
|
|
||||||
<expiration lifespan="600000"/>
|
|
||||||
</local-cache>
|
|
||||||
</cache-container>
|
|
||||||
|
|
||||||
</infinispan>
|
|
Loading…
Reference in New Issue