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 a
SimpleExecutionSlotAllocator.-
Constructor Summary
ConstructorsConstructorDescriptionFactory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context) Instantiates theExecutionSlotAllocator.
-
Constructor Details
-
Factory
-
-
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
-