From e27c1aa8bfa17a6537c938b3267d0b8b9ee764bc Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Thu, 8 Jan 2015 14:32:41 +0100 Subject: [PATCH] Prettifying --- .../Jpa/HibernateCacheDemo/src/main/resources/ehcache.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Sda2/P/Jpa/HibernateCacheDemo/src/main/resources/ehcache.xml b/Sda2/P/Jpa/HibernateCacheDemo/src/main/resources/ehcache.xml index 7769aa8bf..5b59f60e5 100644 --- a/Sda2/P/Jpa/HibernateCacheDemo/src/main/resources/ehcache.xml +++ b/Sda2/P/Jpa/HibernateCacheDemo/src/main/resources/ehcache.xml @@ -1,7 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="ehcache.xsd"> + xsi:noNamespaceSchemaLocation="ehcache.xsd"> + <diskStore path="/tmp/ehcache"/> + <defaultCache maxElementsInMemory="10000" eternal="false" timeToIdleSeconds="300" @@ -9,7 +11,8 @@ diskSpoolBufferSizeMB="30" maxElementsOnDisk="10000" diskExpiryThreadIntervalSeconds="120" - memoryStoreEvictionPolicy="LRU" statistics="true"> + memoryStoreEvictionPolicy="LRU" + statistics="true"> </defaultCache> <cache -- GitLab