public class ActorGatewayCheckpointResponder extends Object implements CheckpointResponder
ActorGateway to forward the messages.| Constructor and Description |
|---|
ActorGatewayCheckpointResponder(ActorGateway actorGateway) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot checkpointStateHandles)
Acknowledges the given checkpoint.
|
void |
declineCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
Throwable reason)
Declines the given checkpoint.
|
public ActorGatewayCheckpointResponder(ActorGateway actorGateway)
public void acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot checkpointStateHandles)
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 checkpointcheckpointStateHandles - State handles for the checkpointpublic void declineCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
Throwable reason)
CheckpointResponderdeclineCheckpoint in interface CheckpointResponderjobID - Job ID of the running jobexecutionAttemptID - Execution attempt ID of the running taskcheckpointId - The ID of the declined checkpointreason - The optional cause why the checkpoint was declinedCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.