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.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.