public class CompletedCheckpointStats extends AbstractCheckpointStats
The reported statistics are immutable except for the discarded flag, which is updated via the
DiscardCallback and the CompletedCheckpoint after an instance of this class has
been created.
| Modifier and Type | Method and Description |
|---|---|
long |
getCheckpointedSize()
Returns the checkpointed size during that checkpoint.
|
String |
getExternalPath()
Returns the external pointer of this checkpoint.
|
SubtaskStateStats |
getLatestAcknowledgedSubtaskStats()
Returns the latest acknowledged subtask stats or
null if none was acknowledged
yet. |
int |
getNumberOfAcknowledgedSubtasks()
Returns the number of acknowledged subtasks.
|
long |
getPersistedData() |
long |
getProcessedData() |
long |
getStateSize()
Returns the total checkpoint state size over all subtasks.
|
CheckpointStatsStatus |
getStatus()
Returns the status of this checkpoint.
|
boolean |
isDiscarded()
Returns whether the checkpoint has been discarded.
|
boolean |
isUnalignedCheckpoint() |
String |
toString() |
getAllTaskStateStats, getCheckpointId, getEndToEndDuration, getLatestAckTimestamp, getNumberOfSubtasks, getProperties, getTaskStateStats, getTriggerTimestamppublic CheckpointStatsStatus getStatus()
AbstractCheckpointStatsgetStatus in class AbstractCheckpointStatspublic int getNumberOfAcknowledgedSubtasks()
AbstractCheckpointStatsgetNumberOfAcknowledgedSubtasks in class AbstractCheckpointStatspublic long getStateSize()
AbstractCheckpointStatsgetStateSize in class AbstractCheckpointStatspublic long getCheckpointedSize()
AbstractCheckpointStatsgetCheckpointedSize in class AbstractCheckpointStatspublic long getProcessedData()
getProcessedData in class AbstractCheckpointStatspublic long getPersistedData()
getPersistedData in class AbstractCheckpointStatspublic boolean isUnalignedCheckpoint()
isUnalignedCheckpoint in class AbstractCheckpointStats@Nullable public SubtaskStateStats getLatestAcknowledgedSubtaskStats()
AbstractCheckpointStatsnull if none was acknowledged
yet.getLatestAcknowledgedSubtaskStats in class AbstractCheckpointStatsnullpublic String getExternalPath()
public boolean isDiscarded()
true if the checkpoint has been discarded, false otherwise.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.