protected Integer getResult(Future<Integer> future) {
    try {
      return future.get();
    } catch (Throwable throwable) {
      // Swallow all exceptions
      azureMetrics.compactionTaskErrorCount.inc();
      logger.error("[COMPACT] Failed to collect compaction result due to {}", throwable);
    }
    return 0;
  }
@return whether the compactor is shutting down.
ambry-cloud/src/main/java/com/github/ambry/cloud/CloudStorageCompactor.java