code: private void reportCompletedCheckpoint(CompletedCheckpointStats completed) {
  		statsReadWriteLock.lock();
  		try {
  			latestCompletedCheckpoint = completed;
  
  			counts.incrementCompletedCheckpoints();
  			history.replacePendingCheckpointById(completed);
  
  			summary.updateSummary(completed);
  
  			dirty = true;
  		} finally {
  			statsReadWriteLock.unlock();
  		}
  	}
docs: Callback when a checkpoint completes.
  
  @param completed The completed checkpoint stats.