| Package | Description |
|---|---|
| org.apache.flink.runtime.executiongraph | |
| org.apache.flink.runtime.instance | |
| org.apache.flink.runtime.jobmanager.scheduler |
| Modifier and Type | Method and Description |
|---|---|
AllocatedResource |
ExecutionVertex.getAllocatedResource()
Returns the allocated resources assigned to this execution vertex.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionVertex.setAllocatedResource(AllocatedResource allocatedResource)
Assigns the execution vertex with an
AllocatedResource. |
void |
ExecutionPipeline.setAllocatedResource(AllocatedResource resource)
Sets the given allocated resource for all vertices included in this pipeline.
|
void |
VertexAssignmentListener.vertexAssignmentChanged(ExecutionVertexID id,
AllocatedResource newAllocatedResource)
Called when an
ExecutionVertex has been assigned to an AllocatedResource. |
| Modifier and Type | Method and Description |
|---|---|
AllocatedResource |
Instance.allocateSlot(JobID jobID) |
| Modifier and Type | Method and Description |
|---|---|
void |
InstanceManager.releaseAllocatedResource(AllocatedResource allocatedResource) |
void |
DefaultInstanceManager.releaseAllocatedResource(AllocatedResource allocatedResource) |
| Modifier and Type | Method and Description |
|---|---|
void |
InstanceListener.allocatedResourcesDied(JobID jobID,
List<AllocatedResource> allocatedResource)
Called if one or more allocated resources assigned to at least one job have died unexpectedly.
|
void |
InstanceListener.resourcesAllocated(JobID jobID,
List<AllocatedResource> allocatedResources)
Called if one or more requested resources have become available.
|
| Constructor and Description |
|---|
InstanceNotifier(InstanceListener instanceListener,
JobID jobID,
List<AllocatedResource> allocatedResources)
Constructs a new instance notifier object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultScheduler.checkAndReleaseAllocatedResource(ExecutionGraph executionGraph,
AllocatedResource allocatedResource)
Checks if the given
AllocatedResource is still required for the
execution of the given execution graph. |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultScheduler.allocatedResourcesDied(JobID jobID,
List<AllocatedResource> allocatedResources) |
void |
DefaultScheduler.resourcesAllocated(JobID jobID,
List<AllocatedResource> allocatedResources) |
Copyright © 2014 The Apache Software Foundation. All rights reserved.