Uses of Class
org.apache.flink.runtime.slots.ResourceRequirement
-
-
Uses of ResourceRequirement in org.apache.flink.runtime.jobmaster
Method parameters in org.apache.flink.runtime.jobmaster with type arguments of type ResourceRequirement Modifier and Type Method Description voidJobMaster. notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources)voidJobMasterGateway. notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources)Notifies that not enough resources are available to fulfill the resource requirements of a job. -
Uses of ResourceRequirement in org.apache.flink.runtime.jobmaster.slotpool
Methods in org.apache.flink.runtime.jobmaster.slotpool that return types with arguments of type ResourceRequirement Modifier and Type Method Description Collection<ResourceRequirement>DeclarativeSlotPool. getResourceRequirements()Returns the current resource requirements.Collection<ResourceRequirement>DefaultDeclarativeSlotPool. getResourceRequirements()Method parameters in org.apache.flink.runtime.jobmaster.slotpool with type arguments of type ResourceRequirement Modifier and Type Method Description DeclarativeSlotPoolBlocklistDeclarativeSlotPoolFactory. create(org.apache.flink.api.common.JobID jobId, Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements, Duration idleSlotTimeout, Duration rpcTimeout, Duration slotRequestMaxInterval, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor componentMainThreadExecutor)DeclarativeSlotPoolDeclarativeSlotPoolFactory. create(org.apache.flink.api.common.JobID jobId, Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements, Duration idleSlotTimeout, Duration rpcTimeout, Duration slotRequestMaxInterval, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor componentMainThreadExecutor)DeclarativeSlotPoolDefaultDeclarativeSlotPoolFactory. create(org.apache.flink.api.common.JobID jobId, Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements, Duration idleSlotTimeout, Duration rpcTimeout, Duration slotRequestMaxInterval, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor componentMainThreadExecutor)voidDeclarativeSlotPoolBridge. notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources)default voidSlotPoolService. notifyNotEnoughResourcesAvailable(Collection<ResourceRequirement> acquiredResources)Notifies that not enough resources are available to fulfill the resource requirements.Constructor parameters in org.apache.flink.runtime.jobmaster.slotpool with type arguments of type ResourceRequirement Constructor Description DefaultDeclarativeSlotPool(org.apache.flink.api.common.JobID jobId, AllocatedSlotPool slotPool, Consumer<? super Collection<ResourceRequirement>> notifyNewResourceRequirements, Duration idleSlotTimeout, Duration rpcTimeout, Duration slotRequestMaxInterval, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor componentMainThreadExecutor) -
Uses of ResourceRequirement in org.apache.flink.runtime.resourcemanager.slotmanager
Methods in org.apache.flink.runtime.resourcemanager.slotmanager that return types with arguments of type ResourceRequirement Modifier and Type Method Description Collection<ResourceRequirement>DefaultResourceTracker. getAcquiredResources(org.apache.flink.api.common.JobID jobId)Collection<ResourceRequirement>ResourceTracker. getAcquiredResources(org.apache.flink.api.common.JobID jobId)Returns a collection ofResourceRequirements that describe which resources have been assigned to a job.Map<org.apache.flink.api.common.JobID,Collection<ResourceRequirement>>DefaultResourceTracker. getMissingResources()Map<org.apache.flink.api.common.JobID,Collection<ResourceRequirement>>ResourceTracker. getMissingResources()Returns a collection ofResourceRequirementsthat describe which resources the corresponding job is missing.Method parameters in org.apache.flink.runtime.resourcemanager.slotmanager with type arguments of type ResourceRequirement Modifier and Type Method Description voidResourceEventListener. notEnoughResourceAvailable(org.apache.flink.api.common.JobID jobId, Collection<ResourceRequirement> acquiredResources)voidDefaultResourceTracker. notifyResourceRequirements(org.apache.flink.api.common.JobID jobId, Collection<ResourceRequirement> resourceRequirements)voidResourceTracker. notifyResourceRequirements(org.apache.flink.api.common.JobID jobId, Collection<ResourceRequirement> resourceRequirements)Notifies the tracker about a new or updatedResourceRequirements.ResourceAllocationResultDefaultResourceAllocationStrategy. tryFulfillRequirements(Map<org.apache.flink.api.common.JobID,Collection<ResourceRequirement>> missingResources, org.apache.flink.runtime.resourcemanager.slotmanager.TaskManagerResourceInfoProvider taskManagerResourceInfoProvider, BlockedTaskManagerChecker blockedTaskManagerChecker)ResourceAllocationResultResourceAllocationStrategy. tryFulfillRequirements(Map<org.apache.flink.api.common.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. -
Uses of ResourceRequirement in org.apache.flink.runtime.slots
Methods in org.apache.flink.runtime.slots that return ResourceRequirement Modifier and Type Method Description static ResourceRequirementResourceRequirement. create(ResourceProfile resourceProfile, int numberOfRequiredSlots)Methods in org.apache.flink.runtime.slots that return types with arguments of type ResourceRequirement Modifier and Type Method Description Collection<ResourceRequirement>ResourceRequirements. getResourceRequirements()Method parameters in org.apache.flink.runtime.slots with type arguments of type ResourceRequirement Modifier and Type Method Description static ResourceRequirementsResourceRequirements. create(org.apache.flink.api.common.JobID jobId, String targetAddress, Collection<ResourceRequirement> resourceRequirements)
-