Class SlotSharingExecutionSlotAllocatorFactory
java.lang.Object
org.apache.flink.runtime.scheduler.SlotSharingExecutionSlotAllocatorFactory
- All Implemented Interfaces:
ExecutionSlotAllocatorFactory
public class SlotSharingExecutionSlotAllocatorFactory
extends Object
implements ExecutionSlotAllocatorFactory
Factory for
SlotSharingExecutionSlotAllocator.-
Constructor Summary
ConstructorsConstructorDescriptionSlotSharingExecutionSlotAllocatorFactory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely, PhysicalSlotRequestBulkChecker bulkChecker, Duration allocationTimeout) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context) Instantiates theExecutionSlotAllocator.
-
Constructor Details
-
SlotSharingExecutionSlotAllocatorFactory
public SlotSharingExecutionSlotAllocatorFactory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely, PhysicalSlotRequestBulkChecker bulkChecker, Duration allocationTimeout)
-
-
Method Details
-
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
-