public interface PhysicalSlot extends SlotContext
AllocatedSlot
. This represent an interface to classes outside the slot
pool to interact with allocated slots.Modifier and Type | Interface and Description |
---|---|
static interface |
PhysicalSlot.Payload
Payload which can be assigned to an
AllocatedSlot . |
Modifier and Type | Method and Description |
---|---|
boolean |
tryAssignPayload(PhysicalSlot.Payload payload)
Tries to assign the given payload to this allocated slot.
|
getTaskManagerGateway
getAllocationId, getPhysicalSlotNumber, getResourceProfile, getTaskManagerLocation, willBeOccupiedIndefinitely
boolean tryAssignPayload(PhysicalSlot.Payload payload)
payload
- to assign to this slotCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.