public void setCounter(int counter) {
    this.counter = counter;
  }
Set the current counter value;
@param counter the counter value to determine which {@link CompactionPolicy} to use for each compaction cycle.
ambry-store/src/main/java/com/github/ambry/store/CompactionPolicyCounter.java