Class CheckpointStatsCounts
java.lang.Object
org.apache.flink.runtime.checkpoint.CheckpointStatsCounts
- All Implemented Interfaces:
Serializable
Counts of checkpoints.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the number of completed checkpoints.longReturns the number of failed checkpoints.intReturns the number of in progress checkpoints.longReturns the number of restored checkpoints.longReturns the total number of checkpoints (in progress, completed, failed).
-
Method Details
-
getNumberOfRestoredCheckpoints
public long getNumberOfRestoredCheckpoints()Returns the number of restored checkpoints.- Returns:
- Number of restored checkpoints.
-
getTotalNumberOfCheckpoints
public long getTotalNumberOfCheckpoints()Returns the total number of checkpoints (in progress, completed, failed).- Returns:
- Total number of checkpoints.
-
getNumberOfInProgressCheckpoints
public int getNumberOfInProgressCheckpoints()Returns the number of in progress checkpoints.- Returns:
- Number of in progress checkpoints.
-
getNumberOfCompletedCheckpoints
public long getNumberOfCompletedCheckpoints()Returns the number of completed checkpoints.- Returns:
- Number of completed checkpoints.
-
getNumberOfFailedCheckpoints
public long getNumberOfFailedCheckpoints()Returns the number of failed checkpoints.- Returns:
- Number of failed checkpoints.
-