Interface PreferredLocationsRetriever
-
- All Known Implementing Classes:
DefaultPreferredLocationsRetriever
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PreferredLocationsRetriever
Component to retrieve the preferred locations of an execution vertex.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Collection<TaskManagerLocation>>
getPreferredLocations(ExecutionVertexID executionVertexId, Set<ExecutionVertexID> producersToIgnore)
Returns preferred locations of an execution vertex.
-
-
-
Method Detail
-
getPreferredLocations
CompletableFuture<Collection<TaskManagerLocation>> getPreferredLocations(ExecutionVertexID executionVertexId, Set<ExecutionVertexID> producersToIgnore)
Returns preferred locations of an execution vertex.- Parameters:
executionVertexId
- id of the execution vertexproducersToIgnore
- producer vertices to ignore when calculating input locations- Returns:
- future of preferred locations
-
-