Modifier and Type | Method and Description |
---|---|
void |
JobMaster.notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources) |
void |
JobMasterGateway.notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources)
Notifies that not enough resources are available to fulfill the resource requirements of a
job.
|
Modifier and Type | Method and Description |
---|---|
Collection<ResourceRequirement> |
DefaultDeclarativeSlotPool.getResourceRequirements() |
Collection<ResourceRequirement> |
DeclarativeSlotPool.getResourceRequirements()
Returns the current resource requirements.
|
Modifier and Type | Method and Description |
---|---|
DeclarativeSlotPool |
DeclarativeSlotPoolFactory.create(JobID jobId,
Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements,
Time idleSlotTimeout,
Time rpcTimeout) |
DeclarativeSlotPool |
BlocklistDeclarativeSlotPoolFactory.create(JobID jobId,
Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements,
Time idleSlotTimeout,
Time rpcTimeout) |
DeclarativeSlotPool |
DefaultDeclarativeSlotPoolFactory.create(JobID jobId,
Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements,
Time idleSlotTimeout,
Time rpcTimeout) |
default void |
SlotPoolService.notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources)
Notifies that not enough resources are available to fulfill the resource requirements.
|
void |
DeclarativeSlotPoolBridge.notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources) |
Constructor and Description |
---|
DefaultDeclarativeSlotPool(JobID jobId,
AllocatedSlotPool slotPool,
Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements,
Time idleSlotTimeout,
Time rpcTimeout) |
Modifier and Type | Method and Description |
---|---|
Collection<ResourceRequirement> |
DefaultResourceTracker.getAcquiredResources(JobID jobId) |
Collection<ResourceRequirement> |
ResourceTracker.getAcquiredResources(JobID jobId)
Returns a collection of
ResourceRequirement s that describe which resources have been
assigned to a job. |
Map<JobID,Collection<ResourceRequirement>> |
DefaultResourceTracker.getMissingResources() |
Map<JobID,Collection<ResourceRequirement>> |
ResourceTracker.getMissingResources()
Returns a collection of
ResourceRequirements that describe which resources the
corresponding job is missing. |
Modifier and Type | Method and Description |
---|---|
void |
ResourceEventListener.notEnoughResourceAvailable(JobID jobId,
Collection<ResourceRequirement> acquiredResources) |
void |
DefaultResourceTracker.notifyResourceRequirements(JobID jobId,
Collection<ResourceRequirement> resourceRequirements) |
void |
ResourceTracker.notifyResourceRequirements(JobID jobId,
Collection<ResourceRequirement> resourceRequirements)
Notifies the tracker about a new or updated
ResourceRequirements . |
ResourceAllocationResult |
DefaultResourceAllocationStrategy.tryFulfillRequirements(Map<JobID,Collection<ResourceRequirement>> missingResources,
org.apache.flink.runtime.resourcemanager.slotmanager.TaskManagerResourceInfoProvider taskManagerResourceInfoProvider,
BlockedTaskManagerChecker blockedTaskManagerChecker) |
ResourceAllocationResult |
ResourceAllocationStrategy.tryFulfillRequirements(Map<JobID,Collection<ResourceRequirement>> missingResources,
org.apache.flink.runtime.resourcemanager.slotmanager.TaskManagerResourceInfoProvider taskManagerResourceInfoProvider,
BlockedTaskManagerChecker blockedTaskManagerChecker)
Try to make an allocation decision to fulfill the resource requirements.
|
Modifier and Type | Method and Description |
---|---|
static ResourceRequirement |
ResourceRequirement.create(ResourceProfile resourceProfile,
int numberOfRequiredSlots) |
Modifier and Type | Method and Description |
---|---|
Collection<ResourceRequirement> |
ResourceRequirements.getResourceRequirements() |
Modifier and Type | Method and Description |
---|---|
static ResourceRequirements |
ResourceRequirements.create(JobID jobId,
String targetAddress,
Collection<ResourceRequirement> resourceRequirements) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.