Package | Description |
---|---|
org.apache.flink.runtime.instance | |
org.apache.flink.runtime.jobmaster.slotpool |
Modifier and Type | Class and Description |
---|---|
class |
Instance
An instance represents a
TaskManager
registered at a JobManager and ready to receive work. |
Modifier and Type | Method and Description |
---|---|
SlotOwner |
Slot.getOwner()
Gets the owner of this slot.
|
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.
|
SharedSlot(SlotOwner owner,
TaskManagerLocation location,
int slotNumber,
TaskManagerGateway taskManagerGateway,
SlotSharingGroupAssignment assignmentGroup)
Creates a new shared slot that has no parent (is a root slot) and does not belong to any task group.
|
SharedSlot(SlotOwner owner,
TaskManagerLocation location,
int slotNumber,
TaskManagerGateway taskManagerGateway,
SlotSharingGroupAssignment assignmentGroup,
SharedSlot parent,
AbstractID groupId)
Creates a new shared slot that has is a sub-slot of the given parent shared slot, and that belongs
to the given task group.
|
SimpleSlot(SharedSlot parent,
SlotOwner owner,
int slotNumber,
AbstractID groupID)
Creates a new simple slot that belongs to the given shared slot and
is identified by the given ID..
|
SimpleSlot(SlotContext slotContext,
SlotOwner owner,
int slotNumber)
Creates a new simple slot that stands alone and does not belong to shared slot.
|
SimpleSlot(SlotOwner owner,
TaskManagerLocation location,
int slotNumber,
TaskManagerGateway taskManagerGateway)
Creates a new simple slot that stands alone and does not belong to shared slot.
|
SimpleSlot(SlotOwner owner,
TaskManagerLocation location,
int slotNumber,
TaskManagerGateway taskManagerGateway,
SharedSlot parent,
AbstractID groupID)
Creates a new simple slot that belongs to the given shared slot and
is identified by the given ID.
|
Slot(SlotContext slotContext,
SlotOwner owner,
int slotNumber,
SharedSlot parent,
AbstractID groupID)
Base constructor for slots.
|
Slot(SlotOwner owner,
TaskManagerLocation location,
int slotNumber,
TaskManagerGateway taskManagerGateway,
SharedSlot parent,
AbstractID groupID)
Base constructor for slots.
|
Modifier and Type | Class and Description |
---|---|
static class |
SlotPool.ProviderAndOwner
An implementation of the
SlotOwner and SlotProvider interfaces
that delegates methods as RPC calls to the SlotPool's RPC gateway. |
Modifier and Type | Method and Description |
---|---|
SlotOwner |
SlotPool.getSlotOwner()
Gets the slot owner implementation for this pool.
|
Constructor and Description |
---|
SingleLogicalSlot(SlotRequestId slotRequestId,
SlotContext slotContext,
SlotSharingGroupId slotSharingGroupId,
Locality locality,
SlotOwner slotOwner) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.