| Package | Description |
|---|---|
| org.apache.flink.runtime.scheduler.adaptive | |
| org.apache.flink.runtime.scheduler.adaptive.allocator |
| Modifier and Type | Method and Description |
|---|---|
static JobSchedulingPlan |
JobSchedulingPlan.empty()
Create an empty
JobSchedulingPlan with no information about vertices or allocations. |
| Modifier and Type | Method and Description |
|---|---|
Optional<JobSchedulingPlan> |
SlotAllocator.determineParallelismAndCalculateAssignment(JobInformation jobInformation,
Collection<? extends SlotInfo> slots,
JobAllocationsInformation jobAllocationsInformation)
Same as
SlotAllocator.determineParallelism(JobInformation, Collection) but additionally determine
assignment of slots to execution slot sharing groups. |
Optional<JobSchedulingPlan> |
SlotSharingSlotAllocator.determineParallelismAndCalculateAssignment(JobInformation jobInformation,
Collection<? extends SlotInfo> slots,
JobAllocationsInformation jobAllocationsInformation) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ReservedSlots> |
SlotAllocator.tryReserveResources(JobSchedulingPlan jobSchedulingPlan)
Reserves slots according to the given assignment if possible.
|
Optional<ReservedSlots> |
SlotSharingSlotAllocator.tryReserveResources(JobSchedulingPlan jobSchedulingPlan) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.