Package | Description |
---|---|
org.apache.flink.runtime.instance | |
org.apache.flink.runtime.jobmaster.slotpool |
Modifier and Type | Class and Description |
---|---|
class |
SimpleSlotContext
Simple implementation of the
SlotContext interface for the legacy code. |
Modifier and Type | Method and Description |
---|---|
SlotContext |
Slot.getSlotContext()
Gets the allocated slot that this slot refers to.
|
Constructor and Description |
---|
SharedSlot(SlotContext slotContext,
SlotOwner owner,
SlotSharingGroupAssignment assignmentGroup)
Creates a new shared slot that has no parent (is a root slot) and does not belong to any task group.
|
SimpleSlot(SlotContext slotContext,
SlotOwner owner,
int slotNumber)
Creates a new simple slot that stands alone and does not belong to shared slot.
|
Slot(SlotContext slotContext,
SlotOwner owner,
int slotNumber,
SharedSlot parent,
AbstractID groupID)
Base constructor for slots.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PhysicalSlot
The context of an
AllocatedSlot . |
Constructor and Description |
---|
SingleLogicalSlot(SlotRequestId slotRequestId,
SlotContext slotContext,
SlotSharingGroupId slotSharingGroupId,
Locality locality,
SlotOwner slotOwner) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.