public static class SimpleExecutionSlotAllocator.Factory extends Object implements ExecutionSlotAllocatorFactory
SimpleExecutionSlotAllocator
.Constructor and Description |
---|
Factory(PhysicalSlotProvider slotProvider,
boolean slotWillBeOccupiedIndefinitely) |
Modifier and Type | Method and Description |
---|---|
ExecutionSlotAllocator |
createInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context)
Instantiates the
ExecutionSlotAllocator . |
public Factory(PhysicalSlotProvider slotProvider, boolean slotWillBeOccupiedIndefinitely)
public ExecutionSlotAllocator createInstance(org.apache.flink.runtime.scheduler.ExecutionSlotAllocationContext context)
ExecutionSlotAllocatorFactory
ExecutionSlotAllocator
.createInstance
in interface ExecutionSlotAllocatorFactory
context
- for slot allocationCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.