Class TaskCheckpointStatistics
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.checkpoints.TaskCheckpointStatistics
-
- All Implemented Interfaces:
ResponseBody
- Direct Known Subclasses:
TaskCheckpointStatisticsWithSubtaskDetails
public class TaskCheckpointStatistics extends Object implements ResponseBody
Checkpoint statistics for a single task.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_NAME_ALIGNMENT_BUFFEREDstatic StringFIELD_NAME_CHECKPOINT_STATUSstatic StringFIELD_NAME_CHECKPOINTED_SIZEstatic StringFIELD_NAME_DURATIONstatic StringFIELD_NAME_IDstatic StringFIELD_NAME_LATEST_ACK_TIMESTAMPstatic StringFIELD_NAME_NUM_ACK_SUBTASKSstatic StringFIELD_NAME_NUM_SUBTASKSstatic StringFIELD_NAME_PERSISTED_DATAstatic StringFIELD_NAME_PROCESSED_DATAstatic StringFIELD_NAME_STATE_SIZEThe 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
Constructors Constructor Description TaskCheckpointStatistics(long checkpointId, CheckpointStatsStatus checkpointStatus, long latestAckTimestamp, long checkpointedSize, long stateSize, long duration, long alignmentBuffered, long processedData, long persistedData, int numSubtasks, int numAckSubtasks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetCheckpointedSize()longgetCheckpointId()CheckpointStatsStatusgetCheckpointStatus()longgetDuration()longgetLatestAckTimestamp()intgetNumAckSubtasks()intgetNumSubtasks()longgetStateSize()inthashCode()
-
-
-
Field Detail
-
FIELD_NAME_ID
public static final String FIELD_NAME_ID
- See Also:
- Constant Field Values
-
FIELD_NAME_CHECKPOINT_STATUS
public static final String FIELD_NAME_CHECKPOINT_STATUS
- See Also:
- Constant Field Values
-
FIELD_NAME_LATEST_ACK_TIMESTAMP
public static final String FIELD_NAME_LATEST_ACK_TIMESTAMP
- See Also:
- Constant Field Values
-
FIELD_NAME_CHECKPOINTED_SIZE
public static final String FIELD_NAME_CHECKPOINTED_SIZE
- See Also:
- Constant Field Values
-
FIELD_NAME_STATE_SIZE
public static final String 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:
- FLINK-13390, Constant Field Values
-
FIELD_NAME_DURATION
public static final String FIELD_NAME_DURATION
- See Also:
- Constant Field Values
-
FIELD_NAME_ALIGNMENT_BUFFERED
public static final String FIELD_NAME_ALIGNMENT_BUFFERED
- See Also:
- Constant Field Values
-
FIELD_NAME_PROCESSED_DATA
public static final String FIELD_NAME_PROCESSED_DATA
- See Also:
- Constant Field Values
-
FIELD_NAME_PERSISTED_DATA
public static final String FIELD_NAME_PERSISTED_DATA
- See Also:
- Constant Field Values
-
FIELD_NAME_NUM_SUBTASKS
public static final String FIELD_NAME_NUM_SUBTASKS
- See Also:
- Constant Field Values
-
FIELD_NAME_NUM_ACK_SUBTASKS
public static final String FIELD_NAME_NUM_ACK_SUBTASKS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
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
public CheckpointStatsStatus getCheckpointStatus()
-
-