public class AllocationID
extends org.apache.flink.util.AbstractID
This ID is used by the TaskManager and ResourceManager to track and synchronize which slots are allocated to which JobManager and which are free.
In contrast to this AllocationID, the SlotRequestId
is used when a task requests a logical slot from the SlotPool. Multiple logical slot requests can
map to one physical slot request (due to slot sharing).
| 构造器和说明 |
|---|
AllocationID()
Constructs a new random AllocationID.
|
AllocationID(long lowerPart,
long upperPart)
Constructs a new AllocationID with the given parts.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AllocationID |
fromHexString(String hexString) |
public AllocationID()
public AllocationID(long lowerPart,
long upperPart)
lowerPart - the lower bytes of the IDupperPart - the higher bytes of the IDpublic static AllocationID fromHexString(String hexString)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.