Package | Description |
---|---|
org.apache.flink.runtime.deployment | |
org.apache.flink.runtime.executiongraph | |
org.apache.flink.runtime.instance | |
org.apache.flink.runtime.jobmanager.scheduler |
Modifier and Type | Method and Description |
---|---|
static InputChannelDeploymentDescriptor[] |
InputChannelDeploymentDescriptor.fromEdges(ExecutionEdge[] edges,
SimpleSlot consumerSlot)
Creates an input channel deployment descriptor for each partition.
|
Modifier and Type | Method and Description |
---|---|
SimpleSlot |
Execution.getAssignedResource() |
SimpleSlot |
ExecutionVertex.getCurrentAssignedResource() |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionVertex.deployToSlot(SimpleSlot slot) |
void |
Execution.deployToSlot(SimpleSlot 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) |
SimpleSlot |
Instance.allocateSimpleSlot(JobID jobID)
Allocates a simple slot on this TaskManager instance.
|
SimpleSlot |
SlotSharingGroupAssignment.getSlotForTask(ExecutionVertex vertex)
Gets a slot suitable for the given task vertex.
|
SimpleSlot |
SlotSharingGroupAssignment.getSlotForTask(ExecutionVertex vertex,
CoLocationConstraint constraint)
Gets a slot for a task that has a co-location constraint.
|
Modifier and Type | Method and Description |
---|---|
protected SimpleSlot |
Scheduler.getFreeSlotForTask(ExecutionVertex vertex,
Iterable<Instance> requestedLocations,
boolean localOnly)
Gets a suitable instance to schedule the vertex execution to.
|
protected SimpleSlot |
Scheduler.getNewSlotForSharingGroup(ExecutionVertex vertex,
Iterable<Instance> requestedLocations,
SlotSharingGroupAssignment groupAssignment,
CoLocationConstraint constraint,
boolean localOnly)
Tries to allocate a new slot for a vertex that is part of a slot sharing group.
|
SimpleSlot |
Scheduler.scheduleImmediately(ScheduledUnit task) |
SimpleSlot |
SlotAllocationFuture.waitTillAllocated() |
SimpleSlot |
SlotAllocationFuture.waitTillAllocated(long timeout) |
Modifier and Type | Method and Description |
---|---|
void |
SlotAllocationFuture.setSlot(SimpleSlot slot) |
void |
SlotAllocationFutureAction.slotAllocated(SimpleSlot slot)
This method is called as soon as the SlotAllocationFuture is triggered.
|
Constructor and Description |
---|
SlotAllocationFuture(SimpleSlot slot) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.