Package | Description |
---|---|
org.apache.flink.runtime.executiongraph |
Modifier and Type | Method and Description |
---|---|
static SlotProviderStrategy |
SlotProviderStrategy.from(ScheduleMode scheduleMode,
SlotProvider slotProvider,
Time allocationTimeout) |
SlotProviderStrategy |
ExecutionGraph.getSlotProviderStrategy() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
Execution.scheduleForExecution(SlotProviderStrategy slotProviderStrategy,
LocationPreferenceConstraint locationPreferenceConstraint,
Set<AllocationID> allPreviousExecutionGraphAllocationIds)
NOTE: This method only throws exceptions if it is in an illegal state to be scheduled, or if
the tasks needs to be scheduled immediately and no resource is available.
|
CompletableFuture<Void> |
ExecutionVertex.scheduleForExecution(SlotProviderStrategy slotProviderStrategy,
LocationPreferenceConstraint locationPreferenceConstraint,
Set<AllocationID> allPreviousExecutionGraphAllocationIds)
Schedules the current execution of this ExecutionVertex.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.