public void checkCanceled() throws ProcessCanceledException {
    if (canceledStatus.isCanceled()) {
      LOG.info("JPS Caches download process canceled");
      throw new ProcessCanceledException();
    }
  }
public void checkCanceled()