currentRetryAttempts++; if (currentRetryAttempts >= maxRetryAttempts) { cancel(); log.error("Resource {} was not accessible for max number of retry attempts. This resource will no longer be watched", watchedResource.getLocation());
currentRetryAttempts++; if (currentRetryAttempts >= maxRetryAttempts) { cancel(); log.error("Resource {} was not accessible for max number of retry attempts. This resource will no longer be watched", watchedResource.getLocation());