Class AdaptiveSchedulerFactory
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.adaptive.AdaptiveSchedulerFactory
-
- All Implemented Interfaces:
SchedulerNGFactory
public class AdaptiveSchedulerFactory extends Object implements SchedulerNGFactory
Factory for the adaptive scheduler.
-
-
Constructor Summary
Constructors Constructor Description AdaptiveSchedulerFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulerNG
createInstance(org.slf4j.Logger log, ExecutionPlan executionPlan, Executor ioExecutor, Configuration jobMasterConfiguration, SlotPoolService slotPoolService, ScheduledExecutorService futureExecutor, ClassLoader userCodeLoader, CheckpointRecoveryFactory checkpointRecoveryFactory, Duration rpcTimeout, BlobWriter blobWriter, JobManagerJobMetricGroup jobManagerJobMetricGroup, Duration slotRequestTimeout, ShuffleMaster<?> shuffleMaster, JobMasterPartitionTracker partitionTracker, ExecutionDeploymentTracker executionDeploymentTracker, long initializationTimestamp, ComponentMainThreadExecutor mainThreadExecutor, FatalErrorHandler fatalErrorHandler, JobStatusListener jobStatusListener, Collection<FailureEnricher> failureEnrichers, BlocklistOperations blocklistOperations)
static SlotSharingSlotAllocator
createSlotSharingSlotAllocator(DeclarativeSlotPool declarativeSlotPool, boolean localRecoveryEnabled)
JobManagerOptions.SchedulerType
getSchedulerType()
-
-
-
Method Detail
-
createInstance
public SchedulerNG createInstance(org.slf4j.Logger log, ExecutionPlan executionPlan, Executor ioExecutor, Configuration jobMasterConfiguration, SlotPoolService slotPoolService, ScheduledExecutorService futureExecutor, ClassLoader userCodeLoader, CheckpointRecoveryFactory checkpointRecoveryFactory, Duration rpcTimeout, BlobWriter blobWriter, JobManagerJobMetricGroup jobManagerJobMetricGroup, Duration slotRequestTimeout, ShuffleMaster<?> shuffleMaster, JobMasterPartitionTracker partitionTracker, ExecutionDeploymentTracker executionDeploymentTracker, long initializationTimestamp, ComponentMainThreadExecutor mainThreadExecutor, FatalErrorHandler fatalErrorHandler, JobStatusListener jobStatusListener, Collection<FailureEnricher> failureEnrichers, BlocklistOperations blocklistOperations) throws Exception
- Specified by:
createInstance
in interfaceSchedulerNGFactory
- Throws:
Exception
-
getSchedulerType
public JobManagerOptions.SchedulerType getSchedulerType()
- Specified by:
getSchedulerType
in interfaceSchedulerNGFactory
-
createSlotSharingSlotAllocator
public static SlotSharingSlotAllocator createSlotSharingSlotAllocator(DeclarativeSlotPool declarativeSlotPool, boolean localRecoveryEnabled)
-
-