Class DefaultCheckpointPlanCalculator
java.lang.Object
org.apache.flink.runtime.checkpoint.DefaultCheckpointPlanCalculator
- All Implemented Interfaces:
CheckpointPlanCalculator
Default implementation for
CheckpointPlanCalculator. If all tasks are running, it
directly marks all the sources as tasks to trigger, otherwise it would try to find the running
tasks without running processors as tasks to trigger.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCheckpointPlanCalculator(org.apache.flink.api.common.JobID jobId, CheckpointPlanCalculatorContext context, Iterable<ExecutionJobVertex> jobVerticesInTopologyOrderIterable, boolean allowCheckpointsAfterTasksFinished) -
Method Summary
Modifier and TypeMethodDescriptionCalculates the plan of the next checkpoint.
-
Constructor Details
-
DefaultCheckpointPlanCalculator
public DefaultCheckpointPlanCalculator(org.apache.flink.api.common.JobID jobId, CheckpointPlanCalculatorContext context, Iterable<ExecutionJobVertex> jobVerticesInTopologyOrderIterable, boolean allowCheckpointsAfterTasksFinished)
-
-
Method Details
-
calculateCheckpointPlan
Description copied from interface:CheckpointPlanCalculatorCalculates the plan of the next checkpoint.- Specified by:
calculateCheckpointPlanin interfaceCheckpointPlanCalculator- Returns:
- The result plan.
-