I am migrating from com.springsource.net.sf.ehcache-1.6.2.jar
to
<!-- https://mvnrepository.com/artifact/org.ehcache/ehcache -->
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>3.8.1</version>
</dependency>
In particular, I need to migrate the following configuration setting:
<defaultCache
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="86400"
timeToLiveSeconds="86400"
overflowToDisk="true" />
So far I have this:
<cache-template name="defaultCache">
<expiry>
<ttl>86400</ttl>
</expiry>
<resources>
<heap>10000</heap>
</resources>
</cache-template>
How do I migrate the eternal
, timeToIdleSeconds
, and overflowToDisk
settings?