Interface SlotContext
- All Superinterfaces:
SlotInfo
- All Known Subinterfaces:
PhysicalSlot
Interface for the context of a
LogicalSlot. This context contains information about the
underlying allocated slot and how to communicate with the TaskManager on which it was allocated.-
Method Summary
Modifier and TypeMethodDescriptionGets the actor gateway that can be used to send messages to the TaskManager.Methods inherited from interface org.apache.flink.runtime.jobmaster.SlotInfo
getAllocationId, getPhysicalSlotNumber, getResourceProfile, getTaskManagerLocation, willBeOccupiedIndefinitely
-
Method Details
-
getTaskManagerGateway
TaskManagerGateway getTaskManagerGateway()Gets the actor gateway that can be used to send messages to the TaskManager.This method should be removed once the new interface-based RPC abstraction is in place
- Returns:
- The gateway that can be used to send messages to the TaskManager.
-