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 String
FIELD_NAME_ALIGNMENT_BUFFERED
static String
FIELD_NAME_CHECKPOINT_STATUS
static String
FIELD_NAME_CHECKPOINTED_SIZE
static String
FIELD_NAME_DURATION
static String
FIELD_NAME_ID
static String
FIELD_NAME_LATEST_ACK_TIMESTAMP
static String
FIELD_NAME_NUM_ACK_SUBTASKS
static String
FIELD_NAME_NUM_SUBTASKS
static String
FIELD_NAME_PERSISTED_DATA
static String
FIELD_NAME_PROCESSED_DATA
static 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.
-
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 boolean
equals(Object o)
long
getCheckpointedSize()
long
getCheckpointId()
CheckpointStatsStatus
getCheckpointStatus()
long
getDuration()
long
getLatestAckTimestamp()
int
getNumAckSubtasks()
int
getNumSubtasks()
long
getStateSize()
int
hashCode()
-
-
-
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()
-
-