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 forExecutionSlotAllocator
factories.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionSlotAllocator
createInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context)
Instantiates theExecutionSlotAllocator
.
-
-
-
Method Detail
-
createInstance
ExecutionSlotAllocator createInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context)
Instantiates theExecutionSlotAllocator
.- Parameters:
context
- for slot allocation- Returns:
- The instantiated slot allocator
-
-