Package | Description |
---|---|
org.apache.flink.runtime.executiongraph | |
org.apache.flink.runtime.jobmanager.scheduler |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Collection<TaskManagerLocation>> |
Execution.calculatePreferredLocations(LocationPreferenceConstraint locationPreferenceConstraint)
Calculates the preferred locations based on the location preference constraint.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static LocationPreferenceConstraint |
LocationPreferenceConstraint.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationPreferenceConstraint[] |
LocationPreferenceConstraint.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.