Package | Description |
---|---|
org.apache.flink.runtime.instance |
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(AllocatedSlot allocatedSlot,
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(JobID jobID,
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(JobID jobID,
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.
|
SharedSlot(SharedSlot parent,
SlotOwner owner,
int slotNumber,
SlotSharingGroupAssignment assignmentGroup,
AbstractID groupId)
Creates a new shared slot that is a sub-slot of the given parent shared slot, and that belongs
to the given task group.
|
SimpleSlot(AllocatedSlot allocatedSlot,
SlotOwner owner,
int slotNumber)
Creates a new simple slot that stands alone and does not belong to shared slot.
|
SimpleSlot(JobID jobID,
SlotOwner owner,
TaskManagerLocation location,
int slotNumber,
TaskManagerGateway taskManagerGateway)
Creates a new simple slot that stands alone and does not belong to shared slot.
|
SimpleSlot(JobID jobID,
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.
|
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..
|
Slot(AllocatedSlot allocatedSlot,
SlotOwner owner,
int slotNumber,
SharedSlot parent,
AbstractID groupID)
Base constructor for slots.
|
Slot(JobID jobID,
SlotOwner owner,
TaskManagerLocation location,
int slotNumber,
TaskManagerGateway taskManagerGateway,
SharedSlot parent,
AbstractID groupID)
Base constructor for slots.
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.