Uses of Class
org.apache.flink.runtime.clusterframework.types.ResourceProfile
Packages that use ResourceProfile
Package
Description
-
Uses of ResourceProfile in org.apache.flink.runtime.clusterframework.types
Fields in org.apache.flink.runtime.clusterframework.types declared as ResourceProfileModifier and TypeFieldDescriptionstatic final ResourceProfileResourceProfile.ANYA ResourceProfile that indicates infinite resource that matches any resource requirement.static final ResourceProfileResourceProfile.UNKNOWNA ResourceProfile that indicates an unknown resource requirement.static final ResourceProfileResourceProfile.ZEROA ResourceProfile describing zero resources.Methods in org.apache.flink.runtime.clusterframework.types that return ResourceProfileModifier and TypeMethodDescriptionResourceProfile.Builder.build()static ResourceProfileResourceProfile.fromResources(double cpuCores, int taskHeapMemoryMB) static ResourceProfileResourceProfile.fromResourceSpec(org.apache.flink.api.common.operators.ResourceSpec resourceSpec, org.apache.flink.configuration.MemorySize networkMemory) ResourceBudgetManager.getAvailableBudget()SlotProfile.getPhysicalSlotResourceProfile()Returns the desired resource profile for the physical slot to host this task slot.SlotProfile.getTaskResourceProfile()Returns the desired resource profile for the task slot.ResourceBudgetManager.getTotalBudget()ResourceProfile.merge(ResourceProfile other) Calculates the sum of two resource profiles.ResourceProfile.multiply(int multiplier) ResourceProfile.subtract(ResourceProfile other) Subtracts another piece of resource profile from this one.Methods in org.apache.flink.runtime.clusterframework.types with parameters of type ResourceProfileModifier and TypeMethodDescriptionbooleanResourceProfile.allFieldsNoLessThan(ResourceProfile other) Check whether all fields of this resource profile are no less than the given resource profile.booleanResourceProfile.isMatching(ResourceProfile required) Check whether required resource profile can be matched.ResourceProfile.merge(ResourceProfile other) Calculates the sum of two resource profiles.static ResourceProfile.BuilderResourceProfile.newBuilder(ResourceProfile resourceProfile) static SlotProfileSlotProfile.priorAllocation(ResourceProfile taskResourceProfile, ResourceProfile physicalSlotResourceProfile, Collection<TaskManagerLocation> preferredLocations, Collection<AllocationID> priorAllocations, Set<AllocationID> reservedAllocations) Returns a slot profile for the given resource profile, prior allocations and all prior allocation ids from the whole execution graph.booleanResourceBudgetManager.release(ResourceProfile reservation) booleanResourceBudgetManager.reserve(ResourceProfile reservation) ResourceProfile.subtract(ResourceProfile other) Subtracts another piece of resource profile from this one.Constructors in org.apache.flink.runtime.clusterframework.types with parameters of type ResourceProfile -
Uses of ResourceProfile in org.apache.flink.runtime.executiongraph
Methods in org.apache.flink.runtime.executiongraph that return ResourceProfileModifier and TypeMethodDescriptionAccessExecutionJobVertex.getResourceProfile()Returns the resource profile for this job vertex.ArchivedExecutionJobVertex.getResourceProfile()ExecutionJobVertex.getResourceProfile()ExecutionVertex.getResourceProfile()Constructors in org.apache.flink.runtime.executiongraph with parameters of type ResourceProfileModifierConstructorDescriptionArchivedExecutionJobVertex(ArchivedExecutionVertex[] taskVertices, JobVertexID id, String name, int parallelism, int maxParallelism, SlotSharingGroup slotSharingGroup, ResourceProfile resourceProfile, StringifiedAccumulatorResult[] archivedUserAccumulators) -
Uses of ResourceProfile in org.apache.flink.runtime.jobmanager.scheduler
Methods in org.apache.flink.runtime.jobmanager.scheduler that return ResourceProfileMethods in org.apache.flink.runtime.jobmanager.scheduler with parameters of type ResourceProfileModifier and TypeMethodDescriptionvoidSlotSharingGroup.setResourceProfile(ResourceProfile resourceProfile) -
Uses of ResourceProfile in org.apache.flink.runtime.jobmaster
Methods in org.apache.flink.runtime.jobmaster that return ResourceProfileModifier and TypeMethodDescriptionSlotInfo.getResourceProfile()Returns the resource profile of the slot. -
Uses of ResourceProfile in org.apache.flink.runtime.jobmaster.slotpool
Methods in org.apache.flink.runtime.jobmaster.slotpool that return types with arguments of type ResourceProfileModifier and TypeMethodDescriptionPhysicalSlotRequestBulk.getPendingRequests()ReturnsResourceProfiles of pending physical slot requests.Methods in org.apache.flink.runtime.jobmaster.slotpool with parameters of type ResourceProfileModifier and TypeMethodDescriptionDeclarativeSlotPoolBridge.allocateAvailableSlot(SlotRequestId slotRequestId, AllocationID allocationID, ResourceProfile requirementProfile) SlotPool.allocateAvailableSlot(SlotRequestId slotRequestId, AllocationID allocationID, ResourceProfile requirementProfile) Allocates the available slot with the given allocation id under the given request id for the given requirement profile.DeclarativeSlotPoolBridge.requestNewAllocatedBatchSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations) default CompletableFuture<PhysicalSlot>SlotPool.requestNewAllocatedBatchSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile) Requests the allocation of a new batch slot from the resource manager.SlotPool.requestNewAllocatedBatchSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations) DeclarativeSlotPoolBridge.requestNewAllocatedSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations, Duration timeout) default CompletableFuture<PhysicalSlot>SlotPool.requestNewAllocatedSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Duration timeout) Request the allocation of a new slot from the resource manager.SlotPool.requestNewAllocatedSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations, Duration timeout) Request the allocation of a new slot from the resource manager.DeclarativeSlotPool.reserveFreeSlot(AllocationID allocationId, ResourceProfile requiredSlotProfile) Reserves the free slot identified by the given allocationId and maps it to the given requiredSlotProfile.DefaultDeclarativeSlotPool.reserveFreeSlot(AllocationID allocationId, ResourceProfile requiredSlotProfile) protected abstract Optional<SlotSelectionStrategy.SlotInfoAndLocality>LocationPreferenceSlotSelectionStrategy.selectWithoutLocationPreference(FreeSlotTracker freeSlotTracker, ResourceProfile resourceProfile) -
Uses of ResourceProfile in org.apache.flink.runtime.resourcemanager
Methods in org.apache.flink.runtime.resourcemanager that return ResourceProfileModifier and TypeMethodDescriptionTaskExecutorRegistration.getDefaultSlotResourceProfile()ResourceOverview.getFreeResource()ResourceOverview.getTotalResource()TaskExecutorRegistration.getTotalResourceProfile()Methods in org.apache.flink.runtime.resourcemanager with parameters of type ResourceProfileModifier and TypeMethodDescriptionstatic WorkerResourceSpecWorkerResourceSpec.fromTotalResourceProfile(ResourceProfile resourceProfile, int numSlots) Constructors in org.apache.flink.runtime.resourcemanager with parameters of type ResourceProfileModifierConstructorDescriptionResourceOverview(int numberTaskManagers, int numberRegisteredSlots, int numberFreeSlots, int numberBlockedTaskManagers, int numberBlockedFreeSlots, ResourceProfile totalResource, ResourceProfile freeResource) TaskExecutorRegistration(String taskExecutorAddress, ResourceID resourceId, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, ResourceProfile defaultSlotResourceProfile, ResourceProfile totalResourceProfile, String nodeId) -
Uses of ResourceProfile in org.apache.flink.runtime.resourcemanager.exceptions
Constructors in org.apache.flink.runtime.resourcemanager.exceptions with parameters of type ResourceProfileModifierConstructorDescriptionUnfulfillableSlotRequestException(AllocationID allocationId, ResourceProfile resourceProfile) -
Uses of ResourceProfile in org.apache.flink.runtime.resourcemanager.registration
Methods in org.apache.flink.runtime.resourcemanager.registration that return ResourceProfileModifier and TypeMethodDescriptionWorkerRegistration.getDefaultSlotResourceProfile()WorkerRegistration.getTotalResourceProfile()Constructors in org.apache.flink.runtime.resourcemanager.registration with parameters of type ResourceProfileModifierConstructorDescriptionWorkerRegistration(TaskExecutorGateway taskExecutorGateway, WorkerType worker, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile, String nodeId) -
Uses of ResourceProfile in org.apache.flink.runtime.resourcemanager.slotmanager
Methods in org.apache.flink.runtime.resourcemanager.slotmanager that return ResourceProfileModifier and TypeMethodDescriptionstatic ResourceProfileSlotManagerUtils.generateDefaultSlotResourceProfile(ResourceProfile resourceProfile, int numSlotsPerWorker) static ResourceProfileSlotManagerUtils.generateDefaultSlotResourceProfile(WorkerResourceSpec workerResourceSpec, int numSlotsPerWorker) static ResourceProfileSlotManagerUtils.generateTaskManagerTotalResourceProfile(WorkerResourceSpec workerResourceSpec) FineGrainedTaskManagerRegistration.getAvailableResource()TaskManagerInfo.getAvailableResource()Get the available resource.FineGrainedTaskManagerRegistration.getDefaultSlotResourceProfile()PendingTaskManager.getDefaultSlotResourceProfile()TaskManagerInfo.getDefaultSlotResourceProfile()Get the default slot resource profile.static ResourceProfileSlotManagerUtils.getEffectiveResourceProfile(ResourceProfile requirement, ResourceProfile defaultResourceProfile) ClusterResourceStatisticsProvider.getFreeResource()Get profile of total free resources.FineGrainedSlotManager.getFreeResource()FineGrainedTaskManagerTracker.getFreeResource()SlotManager.getFreeResource()ClusterResourceStatisticsProvider.getFreeResourceOf(InstanceID instanceId) Get profile of free resources from the TaskManager with the given instance id.FineGrainedSlotManager.getFreeResourceOf(InstanceID instanceID) FineGrainedTaskManagerTracker.getFreeResourceOf(InstanceID instanceId) SlotManager.getFreeResourceOf(InstanceID instanceID) ClusterResourceStatisticsProvider.getPendingResource()Get profile of total pending resources.FineGrainedTaskManagerTracker.getPendingResource()ClusterResourceStatisticsProvider.getRegisteredResource()Get profile of total registered resources.FineGrainedSlotManager.getRegisteredResource()FineGrainedTaskManagerTracker.getRegisteredResource()SlotManager.getRegisteredResource()ClusterResourceStatisticsProvider.getRegisteredResourceOf(InstanceID instanceId) Get profile of registered resources from the TaskManager with the given instance id.FineGrainedSlotManager.getRegisteredResourceOf(InstanceID instanceID) FineGrainedTaskManagerTracker.getRegisteredResourceOf(InstanceID instanceId) SlotManager.getRegisteredResourceOf(InstanceID instanceID) FineGrainedTaskManagerSlot.getResourceProfile()TaskManagerSlotInformation.getResourceProfile()Get resource profile of this slot.FineGrainedTaskManagerRegistration.getTotalResource()TaskManagerInfo.getTotalResource()Get the total resource.PendingTaskManager.getTotalResourceProfile()PendingTaskManager.getUnusedResource()Methods in org.apache.flink.runtime.resourcemanager.slotmanager with parameters of type ResourceProfileModifier and TypeMethodDescriptionResourceAllocationResult.Builder.addAllocationOnPendingResource(org.apache.flink.api.common.JobID jobId, PendingTaskManagerId pendingTaskManagerId, ResourceProfile resourceProfile) ResourceAllocationResult.Builder.addAllocationOnRegisteredResource(org.apache.flink.api.common.JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile) voidFineGrainedTaskManagerTracker.addTaskManager(TaskExecutorConnection taskExecutorConnection, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile) DefaultSlotStatusSyncer.allocateSlot(InstanceID instanceId, org.apache.flink.api.common.JobID jobId, String targetAddress, ResourceProfile resourceProfile) SlotStatusSyncer.allocateSlot(InstanceID instanceId, org.apache.flink.api.common.JobID jobId, String targetAddress, ResourceProfile resourceProfile) Allocate a slot from the task manager.static intSlotManagerUtils.calculateDefaultNumSlots(ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile) static ResourceProfileSlotManagerUtils.generateDefaultSlotResourceProfile(ResourceProfile resourceProfile, int numSlotsPerWorker) static ResourceProfileSlotManagerUtils.getEffectiveResourceProfile(ResourceProfile requirement, ResourceProfile defaultResourceProfile) FineGrainedTaskManagerTracker.getPendingTaskManagersByTotalAndDefaultSlotResourceProfile(ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile) default booleanTaskManagerSlotInformation.isMatchingRequirement(ResourceProfile required) Returns true if the requiredResourceProfilecan be fulfilled by this slot.voidDefaultResourceTracker.notifyAcquiredResource(org.apache.flink.api.common.JobID jobId, ResourceProfile resourceProfile) voidResourceTracker.notifyAcquiredResource(org.apache.flink.api.common.JobID jobId, ResourceProfile resourceProfile) Notifies the tracker about the acquisition of a resource with the given resource profile, for the given job.voidDefaultResourceTracker.notifyLostResource(org.apache.flink.api.common.JobID jobId, ResourceProfile resourceProfile) voidResourceTracker.notifyLostResource(org.apache.flink.api.common.JobID jobId, ResourceProfile resourceProfile) Notifies the tracker about the loss of a resource with the given resource profile, for the given job.voidFineGrainedTaskManagerTracker.notifySlotStatus(AllocationID allocationId, org.apache.flink.api.common.JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile, org.apache.flink.runtime.resourcemanager.slotmanager.SlotState slotState) FineGrainedSlotManager.registerTaskManager(TaskExecutorConnection taskExecutorConnection, SlotReport initialSlotReport, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile) SlotManager.registerTaskManager(TaskExecutorConnection taskExecutorConnection, SlotReport initialSlotReport, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile) Registers a new task manager at the slot manager.Constructors in org.apache.flink.runtime.resourcemanager.slotmanager with parameters of type ResourceProfileModifierConstructorDescriptionDefaultResourceAllocationStrategy(ResourceProfile totalResourceProfile, int numSlotsPerWorker, org.apache.flink.configuration.TaskManagerOptions.TaskManagerLoadBalanceMode taskManagerLoadBalanceMode, Duration taskManagerTimeout, int redundantTaskManagerNum, org.apache.flink.api.common.resources.CPUResource minTotalCPU, org.apache.flink.configuration.MemorySize minTotalMemory) FineGrainedTaskManagerRegistration(TaskExecutorConnection taskManagerConnection, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile) FineGrainedTaskManagerSlot(AllocationID allocationId, org.apache.flink.api.common.JobID jobId, ResourceProfile resourceProfile, TaskExecutorConnection taskManagerConnection, org.apache.flink.runtime.resourcemanager.slotmanager.SlotState slotState) PendingTaskManager(ResourceProfile totalResourceProfile, int numSlots) -
Uses of ResourceProfile in org.apache.flink.runtime.rest.messages
Methods in org.apache.flink.runtime.rest.messages with parameters of type ResourceProfileModifier and TypeMethodDescriptionstatic ResourceProfileInfoResourceProfileInfo.fromResrouceProfile(ResourceProfile resourceProfile) -
Uses of ResourceProfile in org.apache.flink.runtime.rest.messages.taskmanager
Constructors in org.apache.flink.runtime.rest.messages.taskmanager with parameters of type ResourceProfileModifierConstructorDescriptionSlotInfo(org.apache.flink.api.common.JobID jobId, ResourceProfile resource) TaskManagerInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfile totalResource, ResourceProfile freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, Boolean blocked) -
Uses of ResourceProfile in org.apache.flink.runtime.scheduler
Methods in org.apache.flink.runtime.scheduler that return types with arguments of type ResourceProfile -
Uses of ResourceProfile in org.apache.flink.runtime.scheduler.adaptive.allocator
Methods in org.apache.flink.runtime.scheduler.adaptive.allocator with parameters of type ResourceProfileModifier and TypeMethodDescriptionReserveSlotFunction.reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile) Reserves the slot identified by the given allocation ID for the given resource profile. -
Uses of ResourceProfile in org.apache.flink.runtime.slots
Methods in org.apache.flink.runtime.slots that return ResourceProfileMethods in org.apache.flink.runtime.slots that return types with arguments of type ResourceProfileModifier and TypeMethodDescriptionDefaultRequirementMatcher.match(ResourceProfile resourceProfile, ResourceCounter totalRequirements, Function<ResourceProfile, Integer> numAssignedResourcesLookup) RequirementMatcher.match(ResourceProfile resourceProfile, ResourceCounter totalRequirements, Function<ResourceProfile, Integer> numAssignedResourcesLookup) Attempts to match the given resource profile with one of the given requirements.Methods in org.apache.flink.runtime.slots with parameters of type ResourceProfileModifier and TypeMethodDescriptionstatic ResourceRequirementResourceRequirement.create(ResourceProfile resourceProfile, int numberOfRequiredSlots) DefaultRequirementMatcher.match(ResourceProfile resourceProfile, ResourceCounter totalRequirements, Function<ResourceProfile, Integer> numAssignedResourcesLookup) RequirementMatcher.match(ResourceProfile resourceProfile, ResourceCounter totalRequirements, Function<ResourceProfile, Integer> numAssignedResourcesLookup) Attempts to match the given resource profile with one of the given requirements.Method parameters in org.apache.flink.runtime.slots with type arguments of type ResourceProfileModifier and TypeMethodDescriptionDefaultRequirementMatcher.match(ResourceProfile resourceProfile, ResourceCounter totalRequirements, Function<ResourceProfile, Integer> numAssignedResourcesLookup) RequirementMatcher.match(ResourceProfile resourceProfile, ResourceCounter totalRequirements, Function<ResourceProfile, Integer> numAssignedResourcesLookup) Attempts to match the given resource profile with one of the given requirements. -
Uses of ResourceProfile in org.apache.flink.runtime.taskexecutor
Methods in org.apache.flink.runtime.taskexecutor that return ResourceProfileModifier and TypeMethodDescriptionstatic ResourceProfileTaskExecutorResourceUtils.generateDefaultSlotResourceProfile(TaskExecutorResourceSpec taskExecutorResourceSpec, int numberOfSlots) static ResourceProfileTaskExecutorResourceUtils.generateTotalAvailableResourceProfile(TaskExecutorResourceSpec taskExecutorResourceSpec) TaskManagerConfiguration.getDefaultSlotResourceProfile()SlotStatus.getResourceProfile()Get the resource profile of this slot.TaskManagerConfiguration.getTotalResourceProfile()Methods in org.apache.flink.runtime.taskexecutor with parameters of type ResourceProfileModifier and TypeMethodDescriptionTaskExecutor.requestSlot(SlotID slotId, org.apache.flink.api.common.JobID jobId, AllocationID allocationId, ResourceProfile resourceProfile, String targetAddress, ResourceManagerId resourceManagerId, Duration timeout) TaskExecutorGateway.requestSlot(SlotID slotId, org.apache.flink.api.common.JobID jobId, AllocationID allocationId, ResourceProfile resourceProfile, String targetAddress, ResourceManagerId resourceManagerId, Duration timeout) Requests a slot from the TaskManager.TaskExecutorGatewayDecoratorBase.requestSlot(SlotID slotId, org.apache.flink.api.common.JobID jobId, AllocationID allocationId, ResourceProfile resourceProfile, String targetAddress, ResourceManagerId resourceManagerId, Duration timeout) Constructors in org.apache.flink.runtime.taskexecutor with parameters of type ResourceProfileModifierConstructorDescriptionSlotStatus(SlotID slotID, ResourceProfile resourceProfile) SlotStatus(SlotID slotID, ResourceProfile resourceProfile, org.apache.flink.api.common.JobID jobID, AllocationID allocationID) TaskManagerConfiguration(int numberSlots, ResourceProfile defaultSlotResourceProfile, ResourceProfile totalResourceProfile, String[] tmpDirectories, Duration rpcTimeout, Duration slotTimeout, Duration maxRegistrationDuration, org.apache.flink.configuration.Configuration configuration, boolean exitJvmOnOutOfMemory, String taskManagerLogPath, String taskManagerStdoutPath, String taskManagerLogDir, String taskManagerExternalAddress, File tmpWorkingDirectory, RetryingRegistrationConfiguration retryingRegistrationConfiguration) -
Uses of ResourceProfile in org.apache.flink.runtime.taskexecutor.slot
Methods in org.apache.flink.runtime.taskexecutor.slot that return ResourceProfileModifier and TypeMethodDescriptionSlotAllocationSnapshot.getResourceProfile()SlotOffer.getResourceProfile()TaskSlot.getResourceProfile()Methods in org.apache.flink.runtime.taskexecutor.slot with parameters of type ResourceProfileModifier and TypeMethodDescriptionbooleanTaskSlotTable.allocateSlot(int index, org.apache.flink.api.common.JobID jobId, AllocationID allocationId, ResourceProfile resourceProfile, Duration slotTimeout) Allocate the slot with the given index for the given job and allocation id.booleanTaskSlotTableImpl.allocateSlot(int requestedIndex, org.apache.flink.api.common.JobID jobId, AllocationID allocationId, ResourceProfile resourceProfile, Duration slotTimeout) Constructors in org.apache.flink.runtime.taskexecutor.slot with parameters of type ResourceProfileModifierConstructorDescriptionSlotAllocationSnapshot(SlotID slotID, org.apache.flink.api.common.JobID jobId, String jobTargetAddress, AllocationID allocationId, ResourceProfile resourceProfile) SlotOffer(AllocationID allocationID, int index, ResourceProfile resourceProfile) TaskSlot(int index, ResourceProfile resourceProfile, int memoryPageSize, org.apache.flink.api.common.JobID jobId, AllocationID allocationId, Executor asyncExecutor) TaskSlotTableImpl(int numberSlots, ResourceProfile totalAvailableResourceProfile, ResourceProfile defaultSlotResourceProfile, int memoryPageSize, TimerService<AllocationID> timerService, Executor memoryVerificationExecutor) -
Uses of ResourceProfile in org.apache.flink.runtime.util
Methods in org.apache.flink.runtime.util that return ResourceProfileModifier and TypeMethodDescriptionResourceCounter.getTotalResource()Computes the total resources in this counter.Methods in org.apache.flink.runtime.util that return types with arguments of type ResourceProfileModifier and TypeMethodDescriptionResourceCounter.getResources()Gets all storedResourceProfiles.ResourceCounter.getResourcesWithCount()Gets the stored resources and their counts.Methods in org.apache.flink.runtime.util with parameters of type ResourceProfileModifier and TypeMethodDescriptionResourceCounter.add(ResourceProfile resourceProfile, int increment) Adds increment to the count of resourceProfile and returns the new value.booleanResourceCounter.containsResource(ResourceProfile resourceProfile) Checks whether resourceProfile is contained in this counter.intResourceCounter.getResourceCount(ResourceProfile resourceProfile) Number of resources with the givenResourceProfile.ResourceCounter.subtract(ResourceProfile resourceProfile, int decrement) Subtracts decrement from the count of the given resourceProfile and returns the new value.static ResourceCounterResourceCounter.withResource(ResourceProfile resourceProfile, int count) Creates a resource counter with the given resourceProfile and its count.Method parameters in org.apache.flink.runtime.util with type arguments of type ResourceProfileModifier and TypeMethodDescriptionResourceCounter.add(Map<ResourceProfile, Integer> increment) Adds the given increment to this resource counter value and returns the resulting value.ResourceCounter.subtract(Map<ResourceProfile, Integer> decrement) Subtracts decrement from this resource counter value and returns the new value.static ResourceCounterResourceCounter.withResources(Map<ResourceProfile, Integer> resources) Creates a resource counter with the specified set of resources. -
Uses of ResourceProfile in org.apache.flink.streaming.api.graph
Methods in org.apache.flink.streaming.api.graph that return types with arguments of type ResourceProfileMethod parameters in org.apache.flink.streaming.api.graph with type arguments of type ResourceProfileModifier and TypeMethodDescriptionvoidStreamGraph.setSlotSharingGroupResource(Map<String, ResourceProfile> slotSharingGroupResources) StreamGraphGenerator.setSlotSharingGroupResource(Map<String, ResourceProfile> slotSharingGroupResources) Specify fine-grained resource requirements for slot sharing groups.