public final class DefaultSlotPoolServiceSchedulerFactory extends Object implements SlotPoolServiceSchedulerFactory
SlotPoolServiceSchedulerFactory implementation.| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultSlotPoolServiceSchedulerFactory |
create(SlotPoolServiceFactory slotPoolServiceFactory,
SchedulerNGFactory schedulerNGFactory) |
SchedulerNG |
createScheduler(org.slf4j.Logger log,
JobGraph jobGraph,
Executor ioExecutor,
org.apache.flink.configuration.Configuration configuration,
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)
Creates a
SchedulerNG. |
SlotPoolService |
createSlotPoolService(org.apache.flink.api.common.JobID jid,
DeclarativeSlotPoolFactory declarativeSlotPoolFactory)
Creates a
SlotPoolService. |
static DefaultSlotPoolServiceSchedulerFactory |
fromConfiguration(org.apache.flink.configuration.Configuration configuration,
JobType jobType) |
org.apache.flink.configuration.JobManagerOptions.SchedulerType |
getSchedulerType()
Returns the scheduler type this factory is creating.
|
public SlotPoolService createSlotPoolService(org.apache.flink.api.common.JobID jid, DeclarativeSlotPoolFactory declarativeSlotPoolFactory)
SlotPoolServiceSchedulerFactorySlotPoolService.createSlotPoolService 在接口中 SlotPoolServiceSchedulerFactoryjid - jid is the JobID to pass to the servicedeclarativeSlotPoolFactory - the declarative slot pool factorypublic org.apache.flink.configuration.JobManagerOptions.SchedulerType getSchedulerType()
SlotPoolServiceSchedulerFactorygetSchedulerType 在接口中 SlotPoolServiceSchedulerFactorypublic SchedulerNG createScheduler(org.slf4j.Logger log, JobGraph jobGraph, Executor ioExecutor, org.apache.flink.configuration.Configuration configuration, 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
SlotPoolServiceSchedulerFactorySchedulerNG.createScheduler 在接口中 SlotPoolServiceSchedulerFactoryException - if the scheduler creation failspublic static DefaultSlotPoolServiceSchedulerFactory create(SlotPoolServiceFactory slotPoolServiceFactory, SchedulerNGFactory schedulerNGFactory)
public static DefaultSlotPoolServiceSchedulerFactory fromConfiguration(org.apache.flink.configuration.Configuration configuration, JobType jobType)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.