class PendingCheckpointStats extends AbstractCheckpointStats {

	CompletedCheckpointStats.DiscardCallback reportCompletedCheckpoint(String externalPointer) {
		CompletedCheckpointStats completed = new CompletedCheckpointStats(
			checkpointId,
			triggerTimestamp,
			props,
			numberOfSubtasks,
			new HashMap<>(taskStats),
			currentNumAcknowledgedSubtasks,
			currentStateSize,
			latestAcknowledgedSubtask,
				externalPointer);

		trackerCallback.reportCompletedCheckpoint(completed);

		return completed.getDiscardCallback();
	}

	  PendingCheckpointStats(
			long checkpointId,
			long triggerTimestamp,
			CheckpointProperties props,
			int totalSubtaskCount,
			Map<JobVertexID, TaskStateStats> taskStats,
			CheckpointStatsTracker.PendingCheckpointStatsCallback trackerCallback);

}