code: protected void taskDone(int taskId, int rebalanceAsyncId) {
          String durationString = "";
          if(taskCompletionTimeMs >= 0) {
              long durationMs = System.currentTimeMillis() - taskCompletionTimeMs;
              taskCompletionTimeMs = -1;
              durationString = " in " + TimeUnit.MILLISECONDS.toSeconds(durationMs) + " seconds.";
          }
          taskLog("[TaskId : " + taskId + " ] Successfully finished rebalance of "
                  + partitionStoreCount
                  + " for async operation id " + rebalanceAsyncId + durationString);
  
          progressBar.completeTask(taskId, partitionStoreCount);
      }
docs: Helper method to pretty print progress and timing info.
  
  @param rebalanceAsyncId ID of the async rebalancing task