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
public class FailedCheckpointStats extends PendingCheckpointStats
Statistics for a failed checkpoint.The reported statistics are mutable.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEndToEndDuration()
Returns the end to end duration until the checkpoint failure.String
getFailureMessage()
Returns the failure message ornull
if no cause was provided.long
getFailureTimestamp()
Returns the timestamp when this checkpoint failed.CheckpointStatsStatus
getStatus()
Returns the status of this checkpoint.-
Methods inherited from class org.apache.flink.runtime.checkpoint.PendingCheckpointStats
getCheckpointedSize, getLatestAcknowledgedSubtaskStats, getNumberOfAcknowledgedSubtasks, getPersistedData, getProcessedData, getStateSize, isUnalignedCheckpoint, toString
-
Methods inherited from class org.apache.flink.runtime.checkpoint.AbstractCheckpointStats
getAllTaskStateStats, getCheckpointId, getLatestAckTimestamp, getNumberOfSubtasks, getProperties, getTaskStateStats, getTriggerTimestamp
-
-
-
-
Method Detail
-
getStatus
public CheckpointStatsStatus getStatus()
Description copied from class:AbstractCheckpointStats
Returns the status of this checkpoint.- Overrides:
getStatus
in classPendingCheckpointStats
- Returns:
- Status of this checkpoint
-
getEndToEndDuration
public long getEndToEndDuration()
Returns the end to end duration until the checkpoint failure.- Overrides:
getEndToEndDuration
in classAbstractCheckpointStats
- Returns:
- Duration of this checkpoint or
-1
if no subtask was acknowledged yet.
-
getFailureTimestamp
public long getFailureTimestamp()
Returns the timestamp when this checkpoint failed.- Returns:
- Timestamp when the checkpoint failed.
-
getFailureMessage
@Nullable public String getFailureMessage()
Returns the failure message ornull
if no cause was provided.- Returns:
- Failure message of the checkpoint failure or
null
.
-
-