Uses of Class
org.apache.storm.scheduler.resource.normalization.NormalizedResourceOffer
-
-
Uses of NormalizedResourceOffer in org.apache.storm.scheduler
Methods in org.apache.storm.scheduler that return NormalizedResourceOffer Modifier and Type Method Description NormalizedResourceOfferCluster. getAvailableResources(SupervisorDetails sd)NormalizedResourceOfferISchedulingState. getAvailableResources(SupervisorDetails sd)Get the resources on the supervisor that are available to be scheduled.NormalizedResourceOfferCluster. getNonBlacklistedClusterAvailableResources(Collection<String> blacklistedSupervisorIds)NormalizedResourceOfferISchedulingState. getNonBlacklistedClusterAvailableResources(Collection<String> blacklistedSupervisorIds)Get the resources in the cluster that are available for scheduling.NormalizedResourceOfferSupervisorDetails. getTotalResources()Get all resources for this Supervisor.Methods in org.apache.storm.scheduler with parameters of type NormalizedResourceOffer Modifier and Type Method Description booleanCluster. 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 NormalizedResourceOffer Modifier and Type Method Description NormalizedResourceOfferRasNode. getTotalAvailableResources()Gets all available resources for this node.NormalizedResourceOfferRasNode. 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 NormalizedResourceOffer Modifier and Type Method Description doubleNormalizedResourceOffer. 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 NormalizedResourceOffer Constructor Description NormalizedResourceOffer(NormalizedResourceOffer other)Copy Constructor. -
Uses of NormalizedResourceOffer in org.apache.storm.scheduler.resource.strategies.scheduling
Fields in org.apache.storm.scheduler.resource.strategies.scheduling declared as NormalizedResourceOffer Modifier and Type Field Description NormalizedResourceOfferObjectResourcesItem. availableResourcesNormalizedResourceOfferObjectResourcesItem. totalResourcesMethods in org.apache.storm.scheduler.resource.strategies.scheduling that return NormalizedResourceOffer Modifier and Type Method Description NormalizedResourceOfferObjectResourcesSummary. getAvailableResourcesOverall()NormalizedResourceOfferObjectResourcesSummary. getTotalResourcesOverall()Constructors in org.apache.storm.scheduler.resource.strategies.scheduling with parameters of type NormalizedResourceOffer Constructor Description ObjectResourcesItem(String id, NormalizedResourceOffer availableResources, NormalizedResourceOffer totalResources, double minResourcePercent, double avgResourcePercent)ObjectResourcesSummary(List<ObjectResourcesItem> objectResources, NormalizedResourceOffer availableResourcesOverall, NormalizedResourceOffer totalResourcesOverall, String identifier)
-