Interface SlotContext
-
- All Superinterfaces:
SlotInfo
- All Known Subinterfaces:
PhysicalSlot
public interface SlotContext extends SlotInfo
Interface for the context of aLogicalSlot. This context contains information about the underlying allocated slot and how to communicate with the TaskManager on which it was allocated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskManagerGatewaygetTaskManagerGateway()Gets 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 Detail
-
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.
-
-