public interface Scheduler extends SlotProvider, SlotOwner
SlotProvider and a SlotOwner.| Modifier and Type | Method and Description |
|---|---|
boolean |
requiresPreviousExecutionGraphAllocations()
Returns true, iff the scheduling strategy of the scheduler requires to know about previous allocations.
|
void |
start(ComponentMainThreadExecutor mainThreadExecutor)
Start the scheduler by initializing the main thread executor.
|
allocateBatchSlot, allocateSlot, allocateSlot, cancelSlotRequestreturnLogicalSlotvoid start(@Nonnull ComponentMainThreadExecutor mainThreadExecutor)
mainThreadExecutor - the main thread executor of the job master.boolean requiresPreviousExecutionGraphAllocations()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.