public class FailedCheckpointStats extends PendingCheckpointStats
The reported statistics are mutable.
Modifier and Type | Method and Description |
---|---|
long |
getEndToEndDuration()
Returns the end to end duration until the checkpoint failure.
|
String |
getFailureMessage()
Returns the failure message or
null if no cause was provided. |
long |
getFailureTimestamp()
Returns the timestamp when this checkpoint failed.
|
CheckpointStatsStatus |
getStatus()
Returns the status of this checkpoint.
|
getCheckpointedSize, getLatestAcknowledgedSubtaskStats, getNumberOfAcknowledgedSubtasks, getPersistedData, getProcessedData, getStateSize, isUnalignedCheckpoint, toString
getAllTaskStateStats, getCheckpointId, getLatestAckTimestamp, getNumberOfSubtasks, getProperties, getTaskStateStats, getTriggerTimestamp
public CheckpointStatsStatus getStatus()
AbstractCheckpointStats
getStatus
in class PendingCheckpointStats
public long getEndToEndDuration()
getEndToEndDuration
in class AbstractCheckpointStats
-1
if no subtask was acknowledged yet.public long getFailureTimestamp()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.