Class SchedulerUtils
java.lang.Object
org.apache.flink.runtime.scheduler.SchedulerUtils
Utils class for Flink's scheduler implementations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CheckpointIDCountercreateCheckpointIDCounterIfCheckpointingIsEnabled(JobGraph jobGraph, CheckpointRecoveryFactory checkpointRecoveryFactory) static CheckpointStatsTrackercreateCheckpointStatsTrackerIfCheckpointingIsEnabled(JobGraph jobGraph, Supplier<CheckpointStatsTracker> checkpointStatsTrackerFactory) static CompletedCheckpointStorecreateCompletedCheckpointStoreIfCheckpointingIsEnabled(JobGraph jobGraph, org.apache.flink.configuration.Configuration configuration, CheckpointRecoveryFactory checkpointRecoveryFactory, Executor ioExecutor, org.slf4j.Logger log)
-
Method Details
-
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)
-