Package | Description |
---|---|
org.apache.flink.runtime.executiongraph | |
org.apache.flink.runtime.jobmanager.scheduler |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Execution> |
Execution.allocateAndAssignSlotForExecution(SlotProvider slotProvider,
boolean queued,
LocationPreferenceConstraint locationPreferenceConstraint,
Time allocationTimeout)
Allocates and assigns a slot obtained from the slot provider to the execution.
|
Collection<CompletableFuture<Execution>> |
ExecutionJobVertex.allocateResourcesForAll(SlotProvider resourceProvider,
boolean queued,
LocationPreferenceConstraint locationPreferenceConstraint,
Time allocationTimeout)
Acquires a slot for all the execution vertices of this ExecutionJobVertex.
|
CompletableFuture<Collection<TaskManagerLocation>> |
Execution.calculatePreferredLocations(LocationPreferenceConstraint locationPreferenceConstraint)
Calculates the preferred locations based on the location preference constraint.
|
CompletableFuture<Void> |
ExecutionJobVertex.scheduleAll(SlotProvider slotProvider,
boolean queued,
LocationPreferenceConstraint locationPreferenceConstraint)
Schedules all execution vertices of this ExecutionJobVertex.
|
CompletableFuture<Void> |
ExecutionVertex.scheduleForExecution(SlotProvider slotProvider,
boolean queued,
LocationPreferenceConstraint locationPreferenceConstraint)
Schedules the current execution of this ExecutionVertex.
|
CompletableFuture<Void> |
Execution.scheduleForExecution(SlotProvider slotProvider,
boolean queued,
LocationPreferenceConstraint locationPreferenceConstraint)
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.
|
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–2019 The Apache Software Foundation. All rights reserved.