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.
Interface for
ExecutionSlotAllocator factories.-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context) Instantiates theExecutionSlotAllocator.
-
Method Details
-
createInstance
ExecutionSlotAllocator createInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context) Instantiates theExecutionSlotAllocator.- Parameters:
context- for slot allocation- Returns:
- The instantiated slot allocator
-