| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.jobmanager.scheduler | |
| org.apache.flink.runtime.jobmaster | |
| org.apache.flink.runtime.jobmaster.slotpool |
| 限定符和类型 | 方法和说明 |
|---|---|
static Locality |
Locality.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Locality[] |
Locality.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Locality |
LogicalSlot.getLocality()
Gets the locality of this slot.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Locality |
SlotSelectionStrategy.SlotInfoAndLocality.getLocality() |
Locality |
SingleLogicalSlot.getLocality() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SingleLogicalSlot |
SingleLogicalSlot.allocateFromPhysicalSlot(SlotRequestId slotRequestId,
PhysicalSlot physicalSlot,
Locality locality,
SlotOwner slotOwner,
boolean slotWillBeOccupiedIndefinitely) |
static SlotSelectionStrategy.SlotInfoAndLocality |
SlotSelectionStrategy.SlotInfoAndLocality.of(SlotInfo slotInfo,
Locality locality) |
| 构造器和说明 |
|---|
SingleLogicalSlot(SlotRequestId slotRequestId,
SlotContext slotContext,
Locality locality,
SlotOwner slotOwner) |
SingleLogicalSlot(SlotRequestId slotRequestId,
SlotContext slotContext,
Locality locality,
SlotOwner slotOwner,
boolean willBeOccupiedIndefinitely) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.