Class TaskCheckpointStatistics
java.lang.Object
org.apache.flink.runtime.rest.messages.checkpoints.TaskCheckpointStatistics
- All Implemented Interfaces:
ResponseBody
- Direct Known Subclasses:
TaskCheckpointStatisticsWithSubtaskDetails
Checkpoint statistics for a single task.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe accurate name of this field should be 'checkpointed_data_size', keep it as before to not break backwards compatibility for old web UI. -
Constructor Summary
ConstructorsConstructorDescriptionTaskCheckpointStatistics(long checkpointId, CheckpointStatsStatus checkpointStatus, long latestAckTimestamp, long checkpointedSize, long stateSize, long duration, long alignmentBuffered, long processedData, long persistedData, int numSubtasks, int numAckSubtasks) -
Method Summary
-
Field Details
-
FIELD_NAME_ID
- See Also:
-
FIELD_NAME_CHECKPOINT_STATUS
- See Also:
-
FIELD_NAME_LATEST_ACK_TIMESTAMP
- See Also:
-
FIELD_NAME_CHECKPOINTED_SIZE
- See Also:
-
FIELD_NAME_STATE_SIZE
The accurate name of this field should be 'checkpointed_data_size', keep it as before to not break backwards compatibility for old web UI.- See Also:
-
FIELD_NAME_DURATION
- See Also:
-
FIELD_NAME_ALIGNMENT_BUFFERED
- See Also:
-
FIELD_NAME_PROCESSED_DATA
- See Also:
-
FIELD_NAME_PERSISTED_DATA
- See Also:
-
FIELD_NAME_NUM_SUBTASKS
- See Also:
-
FIELD_NAME_NUM_ACK_SUBTASKS
- See Also:
-
-
Constructor Details
-
TaskCheckpointStatistics
public TaskCheckpointStatistics(long checkpointId, CheckpointStatsStatus checkpointStatus, long latestAckTimestamp, long checkpointedSize, long stateSize, long duration, long alignmentBuffered, long processedData, long persistedData, int numSubtasks, int numAckSubtasks)
-
-
Method Details
-
getLatestAckTimestamp
public long getLatestAckTimestamp() -
getCheckpointedSize
public long getCheckpointedSize() -
getStateSize
public long getStateSize() -
getDuration
public long getDuration() -
getNumSubtasks
public int getNumSubtasks() -
getNumAckSubtasks
public int getNumAckSubtasks() -
getCheckpointId
public long getCheckpointId() -
getCheckpointStatus
-
equals
-
hashCode
public int hashCode()
-