public class SimpleExecutionSlotAllocator extends Object implements ExecutionSlotAllocator
ExecutionSlotAllocator. No support for slot sharing,
co-location, state/input locality, nor local recovery.| 限定符和类型 | 类和说明 |
|---|---|
static class |
SimpleExecutionSlotAllocator.Factory
Factory to instantiate a
SimpleExecutionSlotAllocator. |
| 限定符和类型 | 方法和说明 |
|---|---|
List<org.apache.flink.runtime.scheduler.ExecutionSlotAssignment> |
allocateSlotsFor(List<ExecutionAttemptID> executionAttemptIds)
Allocate slots for the given executions.
|
void |
cancel(ExecutionAttemptID executionAttemptId)
Cancel the ongoing slot request of the given
Execution. |
public List<org.apache.flink.runtime.scheduler.ExecutionSlotAssignment> allocateSlotsFor(List<ExecutionAttemptID> executionAttemptIds)
ExecutionSlotAllocatorallocateSlotsFor 在接口中 ExecutionSlotAllocatorexecutionAttemptIds - executions to allocate slots forpublic void cancel(ExecutionAttemptID executionAttemptId)
ExecutionSlotAllocatorExecution.cancel 在接口中 ExecutionSlotAllocatorexecutionAttemptId - identifying the Execution of which the slot request should
be canceled.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.