public int getNumActiveCompactionTasks() {
    return executorService.getActiveCount();
  }
Returns the number of active compaction tasks
@return Number of active compaction tasks
ambry-cloud/src/main/java/com/github/ambry/cloud/CloudStorageCompactor.java