Uses of Class
org.apache.storm.scheduler.resource.normalization.NormalizedResourceOffer
Packages that use NormalizedResourceOffer
Package
Description
-
Uses of NormalizedResourceOffer in org.apache.storm.scheduler
Methods in org.apache.storm.scheduler that return NormalizedResourceOfferModifier and TypeMethodDescriptionCluster.getAvailableResources(SupervisorDetails sd) ISchedulingState.getAvailableResources(SupervisorDetails sd) Get the resources on the supervisor that are available to be scheduled.Cluster.getNonBlacklistedClusterAvailableResources(Collection<String> blacklistedSupervisorIds) ISchedulingState.getNonBlacklistedClusterAvailableResources(Collection<String> blacklistedSupervisorIds) Get the resources in the cluster that are available for scheduling.SupervisorDetails.getTotalResources()Get all resources for this Supervisor.Methods in org.apache.storm.scheduler with parameters of type NormalizedResourceOfferModifier and TypeMethodDescriptionbooleanCluster.wouldFit(WorkerSlot ws, ExecutorDetails exec, TopologyDetails td, NormalizedResourceOffer resourcesAvailable, double maxHeap) booleanISchedulingState.wouldFit(WorkerSlot ws, ExecutorDetails exec, TopologyDetails td, NormalizedResourceOffer resourcesAvailable, double maxHeap) Would scheduling exec on ws fit? With a heap <= maxHeap total memory added <= memoryAvailable and cpu added <= cpuAvailable. -
Uses of NormalizedResourceOffer in org.apache.storm.scheduler.resource
Methods in org.apache.storm.scheduler.resource that return NormalizedResourceOfferModifier and TypeMethodDescriptionRasNode.getTotalAvailableResources()Gets all available resources for this node.RasNode.getTotalResources()Gets total resources for this node. -
Uses of NormalizedResourceOffer in org.apache.storm.scheduler.resource.normalization
Methods in org.apache.storm.scheduler.resource.normalization with parameters of type NormalizedResourceOfferModifier and TypeMethodDescriptiondoubleNormalizedResourceOffer.calculateAveragePercentageUsedBy(NormalizedResourceOffer used) Calculate the average percentage used.doubleNormalizedResourceOffer.calculateMinPercentageUsedBy(NormalizedResourceOffer used) Calculate the min percentage used of the resource.Constructors in org.apache.storm.scheduler.resource.normalization with parameters of type NormalizedResourceOfferModifierConstructorDescriptionCopy Constructor. -
Uses of NormalizedResourceOffer in org.apache.storm.scheduler.resource.strategies.scheduling
Fields in org.apache.storm.scheduler.resource.strategies.scheduling declared as NormalizedResourceOfferModifier and TypeFieldDescriptionObjectResourcesItem.availableResourcesObjectResourcesItem.totalResourcesMethods in org.apache.storm.scheduler.resource.strategies.scheduling that return NormalizedResourceOfferModifier and TypeMethodDescriptionObjectResourcesSummary.getAvailableResourcesOverall()ObjectResourcesSummary.getTotalResourcesOverall()Constructors in org.apache.storm.scheduler.resource.strategies.scheduling with parameters of type NormalizedResourceOfferModifierConstructorDescriptionObjectResourcesItem(String id, NormalizedResourceOffer availableResources, NormalizedResourceOffer totalResources, double minResourcePercent, double avgResourcePercent) ObjectResourcesSummary(List<ObjectResourcesItem> objectResources, NormalizedResourceOffer availableResourcesOverall, NormalizedResourceOffer totalResourcesOverall, String identifier)