| 限定符和类型 | 方法和说明 |
|---|---|
static SlotID |
SlotID.getDynamicSlotID(ResourceID resourceID)
Get a SlotID without actual slot index for dynamic slot allocation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ResourceManagerGateway.notifySlotAvailable(InstanceID instanceId,
SlotID slotID,
AllocationID oldAllocationId)
Sent by the TaskExecutor to notify the ResourceManager that a slot has become available.
|
void |
ResourceManager.notifySlotAvailable(InstanceID instanceID,
SlotID slotId,
AllocationID allocationId) |
| 限定符和类型 | 方法和说明 |
|---|---|
SlotID |
FineGrainedTaskManagerSlot.getSlotId() |
SlotID |
TaskManagerSlotInformation.getSlotId() |
| 限定符和类型 | 方法和说明 |
|---|---|
Iterable<SlotID> |
TaskManagerRegistration.getSlots() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultSlotTracker.addSlot(SlotID slotId,
ResourceProfile resourceProfile,
TaskExecutorConnection taskManagerConnection,
org.apache.flink.api.common.JobID assignedJob) |
boolean |
TaskManagerRegistration.containsSlot(SlotID slotId) |
void |
DeclarativeSlotManager.freeSlot(SlotID slotId,
AllocationID allocationId)
Free the given slot from the given allocation.
|
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.
|
void |
DefaultSlotTracker.notifyAllocationComplete(SlotID slotId,
org.apache.flink.api.common.JobID jobId) |
void |
DefaultSlotTracker.notifyAllocationStart(SlotID slotId,
org.apache.flink.api.common.JobID jobId) |
void |
DefaultSlotTracker.notifyFree(SlotID slotId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultSlotTracker.removeSlots(Iterable<SlotID> slotsToRemove) |
| 构造器和说明 |
|---|
TaskManagerRegistration(TaskExecutorConnection taskManagerConnection,
Collection<SlotID> slots,
ResourceProfile totalResourceProfile,
ResourceProfile defaultSlotResourceProfile) |
| 限定符和类型 | 方法和说明 |
|---|---|
SlotID |
SlotStatus.getSlotID()
Get the unique identification of this slot.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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) |
| 构造器和说明 |
|---|
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–2023 The Apache Software Foundation. All rights reserved.