generator.server.springboot.cache.ehcache.resources.ehcache.xml Maven / Gradle / Ivy
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ehcache.org/v3" 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" > <service> <jsr107:defaults default-template="tinyCache"> <!-- jhipster-needle-ehcache-add-entity --> </jsr107:defaults> </service> <cache-template name="tinyCache"> <heap unit="entries">20</heap> </cache-template> <cache-template name="entityCache"> <expiry> <ttl unit="hours">1</ttl> </expiry> <heap unit="entries">100</heap> </cache-template> </config>