Class AcknowledgeCheckpoint
- java.lang.Object
-
- org.apache.flink.runtime.messages.checkpoint.AbstractCheckpointMessage
-
- org.apache.flink.runtime.messages.checkpoint.AcknowledgeCheckpoint
-
- All Implemented Interfaces:
Serializable
public class AcknowledgeCheckpoint extends AbstractCheckpointMessage
This message is sent from theTaskExecutor
to theJobMaster
to signal that the checkpoint of an individual task is completed.This message may carry the handle to the task's chained operator state and the key group state.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AcknowledgeCheckpoint(JobID jobId, ExecutionAttemptID taskExecutionId, long checkpointId)
AcknowledgeCheckpoint(JobID job, ExecutionAttemptID taskExecutionId, long checkpointId, CheckpointMetrics checkpointMetrics, TaskStateSnapshot subtaskState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
CheckpointMetrics
getCheckpointMetrics()
TaskStateSnapshot
getSubtaskState()
int
hashCode()
String
toString()
-
Methods inherited from class org.apache.flink.runtime.messages.checkpoint.AbstractCheckpointMessage
getCheckpointId, getJob, getTaskExecutionId
-
-
-
-
Constructor Detail
-
AcknowledgeCheckpoint
public AcknowledgeCheckpoint(JobID job, ExecutionAttemptID taskExecutionId, long checkpointId, CheckpointMetrics checkpointMetrics, TaskStateSnapshot subtaskState)
-
AcknowledgeCheckpoint
@VisibleForTesting public AcknowledgeCheckpoint(JobID jobId, ExecutionAttemptID taskExecutionId, long checkpointId)
-
-
Method Detail
-
getSubtaskState
public TaskStateSnapshot getSubtaskState()
-
getCheckpointMetrics
public CheckpointMetrics getCheckpointMetrics()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractCheckpointMessage
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractCheckpointMessage
-
toString
public String toString()
- Overrides:
toString
in classAbstractCheckpointMessage
-
-