Interface ExecutionSlotAllocatorFactory

All Known Implementing Classes:
SimpleExecutionSlotAllocator.Factory, SlotSharingExecutionSlotAllocatorFactory
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 ExecutionSlotAllocatorFactory
Interface for ExecutionSlotAllocator factories.
  • Method Details

    • createInstance

      ExecutionSlotAllocator createInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context)
      Instantiates the ExecutionSlotAllocator.
      Parameters:
      context - for slot allocation
      Returns:
      The instantiated slot allocator