Class SimpleExecutionSlotAllocator.Factory
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.SimpleExecutionSlotAllocator.Factory
-
- All Implemented Interfaces:
ExecutionSlotAllocatorFactory
- Enclosing class:
- SimpleExecutionSlotAllocator
public static class SimpleExecutionSlotAllocator.Factory extends Object implements ExecutionSlotAllocatorFactory
Factory to instantiate aSimpleExecutionSlotAllocator.
-
-
Constructor Summary
Constructors Constructor Description Factory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionSlotAllocatorcreateInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context)Instantiates theExecutionSlotAllocator.
-
-
-
Constructor Detail
-
Factory
public Factory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely)
-
-
Method Detail
-
createInstance
public ExecutionSlotAllocator createInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context)
Description copied from interface:ExecutionSlotAllocatorFactoryInstantiates theExecutionSlotAllocator.- Specified by:
createInstancein interfaceExecutionSlotAllocatorFactory- Parameters:
context- for slot allocation- Returns:
- The instantiated slot allocator
-
-