Package | Description |
---|---|
org.apache.flink.runtime.instance | |
org.apache.flink.runtime.jobmanager.scheduler |
Modifier and Type | Method and Description |
---|---|
SharedSlot |
Instance.allocateSharedSlot(SlotSharingGroupAssignment sharingGroupAssignment)
Allocates a shared slot on this TaskManager instance.
|
SharedSlot |
Slot.getParent()
Gets the parent slot of this slot.
|
Modifier and Type | Method and Description |
---|---|
Tuple2<SharedSlot,Locality> |
SlotSharingGroupAssignment.getSharedSlotForTask(AbstractID groupId,
Iterable<TaskManagerLocation> preferredLocations,
boolean localOnly) |
Modifier and Type | Method and Description |
---|---|
SimpleSlot |
SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot(SharedSlot sharedSlot,
Locality locality,
CoLocationConstraint constraint) |
SimpleSlot |
SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot(SharedSlot sharedSlot,
Locality locality,
JobVertexID groupId) |
Constructor and Description |
---|
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(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 | Method and Description |
---|---|
SharedSlot |
CoLocationConstraint.getSharedSlot()
Gets the shared slot into which this constraint's tasks are places.
|
Modifier and Type | Method and Description |
---|---|
void |
CoLocationConstraint.setSharedSlot(SharedSlot newSlot)
Assigns a new shared slot to this co-location constraint.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.