Class SchedulerUtils
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.SchedulerUtils
-
public final class SchedulerUtils extends Object
Utils class for Flink's scheduler implementations.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckpointIDCounter
createCheckpointIDCounterIfCheckpointingIsEnabled(JobGraph jobGraph, CheckpointRecoveryFactory checkpointRecoveryFactory)
static CheckpointStatsTracker
createCheckpointStatsTrackerIfCheckpointingIsEnabled(JobGraph jobGraph, Supplier<CheckpointStatsTracker> checkpointStatsTrackerFactory)
static CompletedCheckpointStore
createCompletedCheckpointStoreIfCheckpointingIsEnabled(JobGraph jobGraph, org.apache.flink.configuration.Configuration configuration, CheckpointRecoveryFactory checkpointRecoveryFactory, Executor ioExecutor, org.slf4j.Logger log)
-
-
-
Method Detail
-
createCompletedCheckpointStoreIfCheckpointingIsEnabled
public static CompletedCheckpointStore createCompletedCheckpointStoreIfCheckpointingIsEnabled(JobGraph jobGraph, org.apache.flink.configuration.Configuration configuration, CheckpointRecoveryFactory checkpointRecoveryFactory, Executor ioExecutor, org.slf4j.Logger log) throws JobExecutionException
- Throws:
JobExecutionException
-
createCheckpointIDCounterIfCheckpointingIsEnabled
public static CheckpointIDCounter createCheckpointIDCounterIfCheckpointingIsEnabled(JobGraph jobGraph, CheckpointRecoveryFactory checkpointRecoveryFactory) throws JobExecutionException
- Throws:
JobExecutionException
-
createCheckpointStatsTrackerIfCheckpointingIsEnabled
public static CheckpointStatsTracker createCheckpointStatsTrackerIfCheckpointingIsEnabled(JobGraph jobGraph, Supplier<CheckpointStatsTracker> checkpointStatsTrackerFactory)
-
-