# Uses of Class
org.apache.storm.scheduler.resource.normalization.NormalizedResourceOffer

Packages that use NormalizedResourceOffer
Package
Description
org.apache.storm.scheduler
org.apache.storm.scheduler.resource
org.apache.storm.scheduler.resource.normalization
org.apache.storm.scheduler.resource.strategies.scheduling

- ## Uses of NormalizedResourceOffer in org.apache.storm.scheduler

  Methods in org.apache.storm.scheduler that return NormalizedResourceOffer
  Modifier and Type
  Method
  Description
  `NormalizedResourceOffer`
  Cluster.`getAvailableResources(SupervisorDetails sd)`
  `NormalizedResourceOffer`
  ISchedulingState.`getAvailableResources(SupervisorDetails sd)`
  Get the resources on the supervisor that are available to be scheduled.
  `NormalizedResourceOffer`
  Cluster.`getNonBlacklistedClusterAvailableResources(Collection<String> blacklistedSupervisorIds)`
  `NormalizedResourceOffer`
  ISchedulingState.`getNonBlacklistedClusterAvailableResources(Collection<String> blacklistedSupervisorIds)`
  Get the resources in the cluster that are available for scheduling.
  `NormalizedResourceOffer`
  SupervisorDetails.`getTotalResources()`
  Get all resources for this Supervisor.
  Methods in org.apache.storm.scheduler with parameters of type NormalizedResourceOffer
  Modifier and Type
  Method
  Description
  `boolean`
  Cluster.`wouldFit(WorkerSlot ws, ExecutorDetails exec, TopologyDetails td, NormalizedResourceOffer resourcesAvailable, double maxHeap)`
  `boolean`
  ISchedulingState.`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
  `NormalizedResourceOffer`
  RasNode.`getTotalAvailableResources()`
  Gets all available resources for this node.
  `NormalizedResourceOffer`
  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 NormalizedResourceOffer
  Modifier and Type
  Method
  Description
  `double`
  NormalizedResourceOffer.`calculateAveragePercentageUsedBy(NormalizedResourceOffer used)`
  Calculate the average percentage used.
  `double`
  NormalizedResourceOffer.`calculateMinPercentageUsedBy(NormalizedResourceOffer used)`
  Calculate the min percentage used of the resource.
  Constructors in org.apache.storm.scheduler.resource.normalization with parameters of type NormalizedResourceOffer
  Modifier
  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
  `NormalizedResourceOffer`
  ObjectResourcesItem.`availableResources`
  `NormalizedResourceOffer`
  ObjectResourcesItem.`totalResources`
  Methods in org.apache.storm.scheduler.resource.strategies.scheduling that return NormalizedResourceOffer
  Modifier and Type
  Method
  Description
  `NormalizedResourceOffer`
  ObjectResourcesSummary.`getAvailableResourcesOverall()`
  `NormalizedResourceOffer`
  ObjectResourcesSummary.`getTotalResourcesOverall()`
  Constructors in org.apache.storm.scheduler.resource.strategies.scheduling with parameters of type NormalizedResourceOffer
  Modifier
  Constructor
  Description
  ``
  `ObjectResourcesItem(String id, NormalizedResourceOffer availableResources, NormalizedResourceOffer totalResources, double minResourcePercent, double avgResourcePercent)`
  ``
  `ObjectResourcesSummary(List<ObjectResourcesItem> objectResources, NormalizedResourceOffer availableResourcesOverall, NormalizedResourceOffer totalResourcesOverall, String identifier)`