Class PendingCheckpointStats

java.lang.Object
org.apache.flink.runtime.checkpoint.AbstractCheckpointStats
org.apache.flink.runtime.checkpoint.PendingCheckpointStats
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FailedCheckpointStats

public class PendingCheckpointStats extends AbstractCheckpointStats
Statistics for a pending checkpoint that is still in progress.

This is the starting point for all checkpoint tracking. The life cycle of instances of this class is tightly coupled to a PendingCheckpoint instance, which forwards statistics about acknowledged subtasks via reportSubtaskStats(JobVertexID, SubtaskStateStats).

Depending on whether the PendingCheckpoint is finalized successfully or aborted, we replace ourselves with a CompletedCheckpointStats or FailedCheckpointStats and notify the CheckpointStatsTracker.

The statistics gathered here are all live updated.

See Also: