@FunctionalInterface public interface PreferredLocationsRetriever
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Collection<TaskManagerLocation>> |
getPreferredLocations(ExecutionVertexID executionVertexId,
Set<ExecutionVertexID> producersToIgnore)
Returns preferred locations of an execution vertex.
|
CompletableFuture<Collection<TaskManagerLocation>> getPreferredLocations(ExecutionVertexID executionVertexId, Set<ExecutionVertexID> producersToIgnore)
executionVertexId
- id of the execution vertexproducersToIgnore
- producer vertices to ignore when calculating input locationsCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.