Package | Description |
---|---|
org.apache.flink.runtime.instance | |
org.apache.flink.runtime.jobmanager.scheduler |
Modifier and Type | Method and Description |
---|---|
SharedSlot |
Instance.allocateSharedSlot(JobID jobID,
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 |
---|---|
SimpleSlot |
SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot(SharedSlot sharedSlot,
Locality locality,
CoLocationConstraint constraint) |
SimpleSlot |
SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot(SharedSlot sharedSlot,
Locality locality,
JobVertexID groupId) |
Constructor and Description |
---|
SharedSlot(JobID jobID,
Instance instance,
int slotNumber,
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(JobID jobID,
Instance instance,
int slotNumber,
SharedSlot parent,
AbstractID groupID)
Creates a new simple slot that belongs to the given shared slot and
is identified by the given ID..
|
Slot(JobID jobID,
Instance instance,
int slotNumber,
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–2017 The Apache Software Foundation. All rights reserved.