class HashTableAllocationTracker {

  public void commit(int batchSize) {
    Preconditions.checkState(state.equals(State.ALLOCATION_IN_PROGRESS));
    remainingCapacity -= batchSize;
    state = State.NO_ALLOCATION_IN_PROGRESS;
  }

  protected  HashTableAllocationTracker(final HashTableConfig config);

}