public class RpcCheckpointResponder extends Object implements CheckpointResponder
| 构造器和说明 |
|---|
RpcCheckpointResponder(CheckpointCoordinatorGateway checkpointCoordinatorGateway) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public RpcCheckpointResponder(CheckpointCoordinatorGateway checkpointCoordinatorGateway)
public void acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot subtaskState)
CheckpointResponderacknowledgeCheckpoint 在接口中 CheckpointResponderjobID - 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 checkpointpublic void reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics)
CheckpointResponderreportCheckpointMetrics 在接口中 CheckpointResponderjobID - Job ID of the running jobexecutionAttemptID - Execution attempt ID of the running taskcheckpointId - Meta data for this checkpointcheckpointMetrics - Metrics of this checkpointpublic void declineCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointException checkpointException)
CheckpointResponderdeclineCheckpoint 在接口中 CheckpointResponderjobID - 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 declinedCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.