Class FailedCheckpointStats
java.lang.Object
org.apache.flink.runtime.checkpoint.AbstractCheckpointStats
org.apache.flink.runtime.checkpoint.PendingCheckpointStats
org.apache.flink.runtime.checkpoint.FailedCheckpointStats
- All Implemented Interfaces:
Serializable
Statistics for a failed checkpoint.
The reported statistics are mutable.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the end to end duration until the checkpoint failure.Returns the failure message ornullif no cause was provided.longReturns the timestamp when this checkpoint failed.Returns the status of this checkpoint.Methods inherited from class org.apache.flink.runtime.checkpoint.PendingCheckpointStats
getCheckpointedSize, getLatestAcknowledgedSubtaskStats, getNumberOfAcknowledgedSubtasks, getPersistedData, getProcessedData, getStateSize, isUnalignedCheckpoint, toStringMethods inherited from class org.apache.flink.runtime.checkpoint.AbstractCheckpointStats
getAllTaskStateStats, getCheckpointId, getLatestAckTimestamp, getNumberOfSubtasks, getProperties, getTaskStateStats, getTriggerTimestamp
-
Method Details
-
getStatus
Description copied from class:AbstractCheckpointStatsReturns the status of this checkpoint.- Overrides:
getStatusin classPendingCheckpointStats- Returns:
- Status of this checkpoint
-
getEndToEndDuration
public long getEndToEndDuration()Returns the end to end duration until the checkpoint failure.- Overrides:
getEndToEndDurationin classAbstractCheckpointStats- Returns:
- Duration of this checkpoint or
-1if no subtask was acknowledged yet.
-
getFailureTimestamp
public long getFailureTimestamp()Returns the timestamp when this checkpoint failed.- Returns:
- Timestamp when the checkpoint failed.
-
getFailureMessage
Returns the failure message ornullif no cause was provided.- Returns:
- Failure message of the checkpoint failure or
null.
-