@Override
public Boolean clearCache( String cacheKey )
throws ArchivaRestServiceException
{
Cache cache = caches.get( cacheKey );
if ( cache == null )
{
throw new ArchivaRestServiceException( "no cache for key: " + cacheKey,
Response.Status.BAD_REQUEST.getStatusCode(), null );
}
cache.clear();
return Boolean.TRUE;
}