public class AdaptiveSchedulerFactory extends Object implements SchedulerNGFactory
Constructor and Description |
---|
AdaptiveSchedulerFactory(java.time.Duration initialResourceAllocationTimeout,
java.time.Duration resourceStabilizationTimeout) |
Modifier and Type | Method and Description |
---|---|
SchedulerNG |
createInstance(org.slf4j.Logger log,
JobGraph jobGraph,
Executor ioExecutor,
Configuration jobMasterConfiguration,
SlotPoolService slotPoolService,
ScheduledExecutorService futureExecutor,
ClassLoader userCodeLoader,
CheckpointRecoveryFactory checkpointRecoveryFactory,
Time rpcTimeout,
BlobWriter blobWriter,
JobManagerJobMetricGroup jobManagerJobMetricGroup,
Time slotRequestTimeout,
ShuffleMaster<?> shuffleMaster,
JobMasterPartitionTracker partitionTracker,
ExecutionDeploymentTracker executionDeploymentTracker,
long initializationTimestamp,
ComponentMainThreadExecutor mainThreadExecutor,
FatalErrorHandler fatalErrorHandler,
JobStatusListener jobStatusListener,
BlocklistOperations blocklistOperations) |
static SlotSharingSlotAllocator |
createSlotSharingSlotAllocator(DeclarativeSlotPool declarativeSlotPool) |
JobManagerOptions.SchedulerType |
getSchedulerType() |
public AdaptiveSchedulerFactory(java.time.Duration initialResourceAllocationTimeout, java.time.Duration resourceStabilizationTimeout)
public SchedulerNG createInstance(org.slf4j.Logger log, JobGraph jobGraph, Executor ioExecutor, Configuration jobMasterConfiguration, SlotPoolService slotPoolService, ScheduledExecutorService futureExecutor, ClassLoader userCodeLoader, CheckpointRecoveryFactory checkpointRecoveryFactory, Time rpcTimeout, BlobWriter blobWriter, JobManagerJobMetricGroup jobManagerJobMetricGroup, Time slotRequestTimeout, ShuffleMaster<?> shuffleMaster, JobMasterPartitionTracker partitionTracker, ExecutionDeploymentTracker executionDeploymentTracker, long initializationTimestamp, ComponentMainThreadExecutor mainThreadExecutor, FatalErrorHandler fatalErrorHandler, JobStatusListener jobStatusListener, BlocklistOperations blocklistOperations) throws Exception
createInstance
in interface SchedulerNGFactory
Exception
public JobManagerOptions.SchedulerType getSchedulerType()
getSchedulerType
in interface SchedulerNGFactory
public static SlotSharingSlotAllocator createSlotSharingSlotAllocator(DeclarativeSlotPool declarativeSlotPool)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.