public class RpcCheckpointResponder extends Object implements CheckpointResponder
| Constructor and Description |
|---|
RpcCheckpointResponder(CheckpointCoordinatorGateway checkpointCoordinatorGateway) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeCheckpoint(JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
SubtaskState subtaskState)
Acknowledges the given checkpoint.
|
void |
declineCheckpoint(JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
Throwable cause)
Declines the given checkpoint.
|
public RpcCheckpointResponder(CheckpointCoordinatorGateway checkpointCoordinatorGateway)
public void acknowledgeCheckpoint(JobID jobID, ExecutionAttemptID executionAttemptID, long checkpointId, CheckpointMetrics checkpointMetrics, SubtaskState subtaskState)
CheckpointResponderacknowledgeCheckpoint in interface 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 declineCheckpoint(JobID jobID, ExecutionAttemptID executionAttemptID, long checkpointId, Throwable cause)
CheckpointResponderdeclineCheckpoint in interface CheckpointResponderjobID - Job ID of the running jobexecutionAttemptID - Execution attempt ID of the running taskcheckpointId - The ID of the declined checkpointcause - The optional cause why the checkpoint was declinedCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.