mirror of https://github.com/apache/archiva.git
align name with others
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
177acedf38
commit
88674f25b4
|
@ -329,7 +329,7 @@
|
|||
<property name="eternal" value="false"/>
|
||||
<property name="maxElementsInMemory" value="1000"/>
|
||||
<property name="memoryEvictionPolicy" value="LRU"/>
|
||||
<property name="name" value="cache"/>
|
||||
<property name="name" value="url-failures-cache"/>
|
||||
<property name="overflowToDisk" value="false"/>
|
||||
<property name="timeToIdleSeconds" value="2700"/>
|
||||
<property name="timeToLiveSeconds" value="1800"/>
|
||||
|
|
|
@ -36,7 +36,7 @@ public class DefaultUrlFailureCache
|
|||
private Cache urlCache;
|
||||
|
||||
@Inject
|
||||
public DefaultUrlFailureCache( @Named( "url-failures-cache" ) Cache urlCache )
|
||||
public DefaultUrlFailureCache( @Named( "cache#url-failures-cache" ) Cache urlCache )
|
||||
{
|
||||
this.urlCache = urlCache;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
|
||||
<bean id="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
|
||||
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
|
||||
destroy-method="dispose">
|
||||
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
|
||||
<property name="diskPersistent" value="true"/>
|
||||
|
|
|
@ -29,13 +29,13 @@
|
|||
|
||||
<context:property-placeholder system-properties-mode="OVERRIDE"/>
|
||||
|
||||
<bean name="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache">
|
||||
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache">
|
||||
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
|
||||
<property name="diskPersistent" value="false"/>
|
||||
<property name="eternal" value="false"/>
|
||||
<property name="maxElementsInMemory" value="1000"/>
|
||||
<property name="memoryEvictionPolicy" value="LRU"/>
|
||||
<property name="name" value="cache"/>
|
||||
<property name="name" value="url-failures-cache"/>
|
||||
<property name="overflowToDisk" value="false"/>
|
||||
<property name="timeToIdleSeconds" value="2700"/>
|
||||
<property name="timeToLiveSeconds" value="1800"/>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
</bean>
|
||||
|
||||
|
||||
<bean id="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
|
||||
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
|
||||
destroy-method="dispose">
|
||||
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
|
||||
<property name="diskPersistent" value="false"/>
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
<property name="timeToLiveSeconds" value="14400"/>
|
||||
</bean>
|
||||
|
||||
<bean id="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
|
||||
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
|
||||
destroy-method="dispose">
|
||||
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
|
||||
<property name="diskPersistent" value="true"/>
|
||||
|
|
Loading…
Reference in New Issue