public class DefaultSchedulerFactory extends Object implements SchedulerFactory
SchedulerFactory.| Constructor and Description |
|---|
DefaultSchedulerFactory(SlotSelectionStrategy slotSelectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
Scheduler |
createScheduler(SlotPool slotPool)
Creates a new scheduler instance that uses the given
SlotPool to allocate slots. |
static DefaultSchedulerFactory |
fromConfiguration(org.apache.flink.configuration.Configuration configuration) |
public DefaultSchedulerFactory(@Nonnull SlotSelectionStrategy slotSelectionStrategy)
@Nonnull public Scheduler createScheduler(@Nonnull SlotPool slotPool)
SchedulerFactorySlotPool to allocate slots.createScheduler in interface SchedulerFactorypublic static DefaultSchedulerFactory fromConfiguration(@Nonnull org.apache.flink.configuration.Configuration configuration)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.