Class SlotSharingExecutionSlotAllocatorFactory
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.SlotSharingExecutionSlotAllocatorFactory
-
- All Implemented Interfaces:
ExecutionSlotAllocatorFactory
public class SlotSharingExecutionSlotAllocatorFactory extends Object implements ExecutionSlotAllocatorFactory
Factory forSlotSharingExecutionSlotAllocator.
-
-
Constructor Summary
Constructors Constructor Description SlotSharingExecutionSlotAllocatorFactory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely, PhysicalSlotRequestBulkChecker bulkChecker, Duration allocationTimeout)
-
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
-
SlotSharingExecutionSlotAllocatorFactory
public SlotSharingExecutionSlotAllocatorFactory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely, PhysicalSlotRequestBulkChecker bulkChecker, Duration allocationTimeout)
-
-
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
-
-