public interface SlotContext
LogicalSlot
. This context contains information
about the underlying allocated slot and how to communicate with the TaskManager on which
it was allocated.Modifier and Type | Method and Description |
---|---|
AllocationID |
getAllocationId()
Gets the id under which the slot has been allocated on the TaskManager.
|
int |
getPhysicalSlotNumber()
Gets the number of the slot.
|
TaskManagerGateway |
getTaskManagerGateway()
Gets the actor gateway that can be used to send messages to the TaskManager.
|
TaskManagerLocation |
getTaskManagerLocation()
Gets the location info of the TaskManager that offers this slot.
|
AllocationID getAllocationId()
TaskManagerLocation getTaskManagerLocation()
int getPhysicalSlotNumber()
TaskManagerGateway getTaskManagerGateway()
This method should be removed once the new interface-based RPC abstraction is in place
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.