public class AdaptiveSchedulerFactory extends Object implements SchedulerNGFactory
| 构造器和说明 |
|---|
AdaptiveSchedulerFactory(java.time.Duration initialResourceAllocationTimeout,
java.time.Duration resourceStabilizationTimeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
SchedulerNG |
createInstance(org.slf4j.Logger log,
JobGraph jobGraph,
Executor ioExecutor,
org.apache.flink.configuration.Configuration jobMasterConfiguration,
SlotPoolService slotPoolService,
ScheduledExecutorService futureExecutor,
ClassLoader userCodeLoader,
CheckpointRecoveryFactory checkpointRecoveryFactory,
org.apache.flink.api.common.time.Time rpcTimeout,
BlobWriter blobWriter,
JobManagerJobMetricGroup jobManagerJobMetricGroup,
org.apache.flink.api.common.time.Time slotRequestTimeout,
ShuffleMaster<?> shuffleMaster,
JobMasterPartitionTracker partitionTracker,
ExecutionDeploymentTracker executionDeploymentTracker,
long initializationTimestamp,
org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler,
JobStatusListener jobStatusListener,
BlocklistOperations blocklistOperations) |
static SlotSharingSlotAllocator |
createSlotSharingSlotAllocator(DeclarativeSlotPool declarativeSlotPool) |
org.apache.flink.configuration.JobManagerOptions.SchedulerType |
getSchedulerType() |
public AdaptiveSchedulerFactory(java.time.Duration initialResourceAllocationTimeout,
java.time.Duration resourceStabilizationTimeout)
public SchedulerNG createInstance(org.slf4j.Logger log, JobGraph jobGraph, Executor ioExecutor, org.apache.flink.configuration.Configuration jobMasterConfiguration, SlotPoolService slotPoolService, ScheduledExecutorService futureExecutor, ClassLoader userCodeLoader, CheckpointRecoveryFactory checkpointRecoveryFactory, org.apache.flink.api.common.time.Time rpcTimeout, BlobWriter blobWriter, JobManagerJobMetricGroup jobManagerJobMetricGroup, org.apache.flink.api.common.time.Time slotRequestTimeout, ShuffleMaster<?> shuffleMaster, JobMasterPartitionTracker partitionTracker, ExecutionDeploymentTracker executionDeploymentTracker, long initializationTimestamp, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler, JobStatusListener jobStatusListener, BlocklistOperations blocklistOperations) throws Exception
createInstance 在接口中 SchedulerNGFactoryExceptionpublic org.apache.flink.configuration.JobManagerOptions.SchedulerType getSchedulerType()
getSchedulerType 在接口中 SchedulerNGFactorypublic static SlotSharingSlotAllocator createSlotSharingSlotAllocator(DeclarativeSlotPool declarativeSlotPool)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.