public class AllocationID extends 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).
lowerPart, SIZE, upperPart
Constructor and Description |
---|
AllocationID()
Constructs a new random AllocationID.
|
AllocationID(long lowerPart,
long upperPart)
Constructs a new AllocationID with the given parts.
|
compareTo, equals, getBytes, getLowerPart, getUpperPart, hashCode, toHexString, toString
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.