4 <role>org.codehaus.plexus.cache.Cache</role>
5 <role-hint>url-failures-cache</role-hint>
6 <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation>
7 <description>URL Failure Cache</description>
9 <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds>
10 <disk-persistent>true</disk-persistent>
11 <disk-store-path>${java.io.tmpdir}/archiva/urlcache</disk-store-path>
12 <eternal>false</eternal>
13 <max-elements-in-memory>1000</max-elements-in-memory>
14 <memory-eviction-policy>LRU</memory-eviction-policy>
15 <name>url-failures-cache</name>
16 <overflow-to-disk>false</overflow-to-disk>
17 <!-- 45 minutes = 2700 seconds -->
18 <time-to-idle-seconds>2700</time-to-idle-seconds>
19 <!-- 30 minutes = 1800 seconds -->
20 <time-to-live-seconds>1800</time-to-live-seconds>