use of org.apache.flink.runtime.messages.checkpoint.NotifyCheckpointComplete in project flink by apache.
the class CheckpointMessagesTest method testTriggerAndConfirmCheckpoint.
@Test
public void testTriggerAndConfirmCheckpoint() {
try {
NotifyCheckpointComplete cc = new NotifyCheckpointComplete(new JobID(), new ExecutionAttemptID(), 45287698767345L, 467L);
testSerializabilityEqualsHashCode(cc);
TriggerCheckpoint tc = new TriggerCheckpoint(new JobID(), new ExecutionAttemptID(), 347652734L, 7576752L, CheckpointOptions.forFullCheckpoint());
testSerializabilityEqualsHashCode(tc);
} catch (Exception e) {
e.printStackTrace();
fail(e.getMessage());
}
}
use of org.apache.flink.runtime.messages.checkpoint.NotifyCheckpointComplete in project flink by apache.
the class ActorTaskManagerGateway method notifyCheckpointComplete.
@Override
public void notifyCheckpointComplete(ExecutionAttemptID executionAttemptID, JobID jobId, long checkpointId, long timestamp) {
Preconditions.checkNotNull(executionAttemptID);
Preconditions.checkNotNull(jobId);
actorGateway.tell(new NotifyCheckpointComplete(jobId, executionAttemptID, checkpointId, timestamp));
}
Aggregations