| 限定符和类型 | 方法和说明 |
|---|---|
static SlotID |
SlotID.getDynamicSlotID(ResourceID resourceID)
Get a SlotID without actual slot index for dynamic slot allocation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ResourceManager.notifySlotAvailable(InstanceID instanceID,
SlotID slotId,
AllocationID allocationId) |
void |
ResourceManagerGateway.notifySlotAvailable(InstanceID instanceId,
SlotID slotID,
AllocationID oldAllocationId)
Sent by the TaskExecutor to notify the ResourceManager that a slot has become available.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SlotID |
TaskManagerSlotInformation.getSlotId() |
SlotID |
FineGrainedTaskManagerSlot.getSlotId() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SlotManager.freeSlot(SlotID slotId,
AllocationID allocationId)
Free the given slot from the given allocation.
|
void |
FineGrainedSlotManager.freeSlot(SlotID slotId,
AllocationID allocationId)
Free the given slot from the given allocation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SlotID |
SlotStatus.getSlotID()
Get the unique identification of this slot.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<Acknowledge> |
TaskExecutorGatewayDecoratorBase.requestSlot(SlotID slotId,
org.apache.flink.api.common.JobID jobId,
AllocationID allocationId,
ResourceProfile resourceProfile,
String targetAddress,
ResourceManagerId resourceManagerId,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
TaskExecutor.requestSlot(SlotID slotId,
org.apache.flink.api.common.JobID jobId,
AllocationID allocationId,
ResourceProfile resourceProfile,
String targetAddress,
ResourceManagerId resourceManagerId,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.requestSlot(SlotID slotId,
org.apache.flink.api.common.JobID jobId,
AllocationID allocationId,
ResourceProfile resourceProfile,
String targetAddress,
ResourceManagerId resourceManagerId,
org.apache.flink.api.common.time.Time timeout)
Requests a slot from the TaskManager.
|
| 构造器和说明 |
|---|
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile) |
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile,
org.apache.flink.api.common.JobID jobID,
AllocationID allocationID) |
| 限定符和类型 | 方法和说明 |
|---|---|
SlotID |
SlotAllocationSnapshot.getSlotID() |
| 构造器和说明 |
|---|
SlotAllocationSnapshot(SlotID slotID,
org.apache.flink.api.common.JobID jobId,
String jobTargetAddress,
AllocationID allocationId,
ResourceProfile resourceProfile) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.