public boolean shutdown() {
    return shuttingDown.compareAndSet(false, true);
  }
Shut down the compactor waiting for in progress operations to complete.
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/AzureStorageCompactor.java