public long getNumWaitingCompactionTasks() {
    return executorService.getQueue().size();
  }
Returns the number of waiting compaction tasks
@return Number of waiting compaction tasks
ambry-cloud/src/main/java/com/github/ambry/cloud/CloudStorageCompactor.java