removed 2.6.9 reference
authorCherian Mathew <c.mathew@bgbm.org>
Wed, 9 Jul 2014 15:24:09 +0000 (15:24 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Wed, 9 Jul 2014 15:24:09 +0000 (15:24 +0000)
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/init/MockCdmCacher.java

index a0ba51e2fa8e156cade1be9017dc0b49e6e94936..e8162c4607c7ed33d9b058c8d49331af44c2d8e3 100644 (file)
@@ -7,8 +7,6 @@ import net.sf.ehcache.Cache;
 import net.sf.ehcache.CacheManager;
 import net.sf.ehcache.Element;
 import net.sf.ehcache.config.CacheConfiguration;
-import net.sf.ehcache.config.PersistenceConfiguration;
-import net.sf.ehcache.config.PersistenceConfiguration.Strategy;
 import net.sf.ehcache.store.MemoryStoreEvictionPolicy;
 
 import eu.etaxonomy.cdm.model.ICdmCacher;
@@ -76,9 +74,8 @@ public class MockCdmCacher implements ICdmCacher {
            .eternal(false)
            // default ttl and tti set to 2 hours
            .timeToLiveSeconds(60*60*2)
-           .timeToIdleSeconds(60*60*2)
-           .diskExpiryThreadIntervalSeconds(0)
-           .persistence(new PersistenceConfiguration().strategy(Strategy.LOCALTEMPSWAP));
+           .timeToIdleSeconds(60*60*2);
+           
        }
        
        /**