Interface SyncPreferredLocationsRetriever

  • 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 SyncPreferredLocationsRetriever
    Component to retrieve the preferred locations of an execution vertex.
    • Method Detail

      • getPreferredLocations

        Collection<TaskManagerLocation> getPreferredLocations​(ExecutionVertexID executionVertexId,
                                                              Set<ExecutionVertexID> producersToIgnore)
        Returns preferred locations of an execution vertex.
        Parameters:
        executionVertexId - id of the execution vertex
        producersToIgnore - producer vertices to ignore when calculating input locations
        Returns:
        future of preferred locations