@Internal
public interface CheckpointResponder
Task.| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot subtaskState)
Acknowledges the given checkpoint.
|
void |
declineCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointException checkpointException)
Declines the given checkpoint.
|
void |
reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics)
Report metrics for the given checkpoint.
|
void |
reportInitializationMetrics(org.apache.flink.api.common.JobID jobId,
SubTaskInitializationMetrics initializationMetrics) |
void acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot subtaskState)
jobID - Job ID of the running jobexecutionAttemptID - Execution attempt ID of the running taskcheckpointId - Meta data for this checkpointcheckpointMetrics - Metrics of this checkpointsubtaskState - State handles for the checkpointvoid reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics)
jobID - Job ID of the running jobexecutionAttemptID - Execution attempt ID of the running taskcheckpointId - Meta data for this checkpointcheckpointMetrics - Metrics of this checkpointvoid declineCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointException checkpointException)
jobID - Job ID of the running jobexecutionAttemptID - Execution attempt ID of the running taskcheckpointId - The ID of the declined checkpointcheckpointException - The exception why the checkpoint was declinedvoid reportInitializationMetrics(org.apache.flink.api.common.JobID jobId,
SubTaskInitializationMetrics initializationMetrics)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.