throws ArchivaRestServiceException
{
try
{
archivaRuntimeConfigurationAdmin.updateArchivaRuntimeConfiguration( archivaRuntimeConfiguration );
CacheConfiguration cacheConfiguration = archivaRuntimeConfiguration.getUrlFailureCacheConfiguration();
if ( cacheConfiguration != null )
{
usersCache.setTimeToLiveSeconds( cacheConfiguration.getTimeToLiveSeconds() );
usersCache.setTimeToIdleSeconds( cacheConfiguration.getTimeToIdleSeconds() );
usersCache.setMaxElementsOnDisk( cacheConfiguration.getMaxElementsOnDisk() );
usersCache.setMaxElementsInMemory( cacheConfiguration.getMaxElementsInMemory() );
}
FileLockConfiguration fileLockConfiguration = archivaRuntimeConfiguration.getFileLockConfiguration();
if ( fileLockConfiguration != null )
{