Interface ResourceEventListener

  • 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 ResourceEventListener
    Listener for resource events of SlotManager.
    • Method Detail

      • notEnoughResourceAvailable

        void notEnoughResourceAvailable​(org.apache.flink.api.common.JobID jobId,
                                        Collection<ResourceRequirement> acquiredResources)
        Parameters:
        jobId - job for which not enough resources are available
        acquiredResources - the resources that have been acquired for the job