public CompactionPolicy getCompactionPolicy() {
    return new CompactAllPolicy(storeConfig, time);
  }
Factory class to get {@link CompactAllPolicy}
ambry-store/src/main/java/com/github/ambry/store/CompactAllPolicyFactory.java