Class DeclineCheckpoint
java.lang.Object
org.apache.flink.runtime.messages.checkpoint.AbstractCheckpointMessage
org.apache.flink.runtime.messages.checkpoint.DeclineCheckpoint
- All Implemented Interfaces:
Serializable
This message is sent from the
TaskExecutor to the
JobMaster to tell the checkpoint coordinator that a
checkpoint request could not be heeded. This can happen if a Task is already in RUNNING state but
is internally not yet ready to perform checkpoints.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeclineCheckpoint(org.apache.flink.api.common.JobID job, ExecutionAttemptID taskExecutionId, long checkpointId, CheckpointException checkpointException) -
Method Summary
Methods inherited from class org.apache.flink.runtime.messages.checkpoint.AbstractCheckpointMessage
equals, getCheckpointId, getJob, getTaskExecutionId, hashCode
-
Constructor Details
-
DeclineCheckpoint
public DeclineCheckpoint(org.apache.flink.api.common.JobID job, ExecutionAttemptID taskExecutionId, long checkpointId, CheckpointException checkpointException)
-
-
Method Details
-
getSerializedCheckpointException
Gets the reason why the checkpoint was declined.- Returns:
- The reason why the checkpoint was declined
-
toString
- Overrides:
toStringin classAbstractCheckpointMessage
-