Uses of Class org.apache.hadoop.yarn.util.resource.ResourceCalculator (Apache Hadoop YARN Common 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.util.resource, class: ResourceCalculator

# Uses of Class
org.apache.hadoop.yarn.util.resource.ResourceCalculator

Packages that use ResourceCalculator
Package
Description
org.apache.hadoop.yarn.util.resource

- ## Uses of ResourceCalculator in org.apache.hadoop.yarn.util.resource

  Subclasses of ResourceCalculator in org.apache.hadoop.yarn.util.resource
  Modifier and Type
  Class
  Description
  `class`
  `DefaultResourceCalculator`
  `class`
  `DominantResourceCalculator`
  A `ResourceCalculator` which uses the concept of dominant resource to compare multi-dimensional resources.
  Methods in org.apache.hadoop.yarn.util.resource with parameters of type ResourceCalculator
  Modifier and Type
  Method
  Description
  `static float`
  Resources.`divide(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`divideAndCeil(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource lhs, float rhs)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`divideAndCeil(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource lhs, int rhs)`
  `static boolean`
  Resources.`fitsIn(ResourceCalculator rc, org.apache.hadoop.yarn.api.records.Resource smaller, org.apache.hadoop.yarn.api.records.Resource bigger)`
  `static boolean`
  Resources.`greaterThan(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static boolean`
  Resources.`greaterThanOrEqual(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static boolean`
  Resources.`isInvalidDivisor(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource divisor)`
  `static boolean`
  Resources.`lessThan(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static boolean`
  Resources.`lessThanOrEqual(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`max(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`min(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`multiplyAndNormalizeDown(ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource lhs, double by, org.apache.hadoop.yarn.api.records.Resource factor)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`multiplyAndNormalizeUp(ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource lhs, double[] by, org.apache.hadoop.yarn.api.records.Resource factor)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`multiplyAndNormalizeUp(ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource lhs, double by, org.apache.hadoop.yarn.api.records.Resource factor)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`normalize(ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource min, org.apache.hadoop.yarn.api.records.Resource max, org.apache.hadoop.yarn.api.records.Resource increment)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`normalizeDown(ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource resource, org.apache.hadoop.yarn.api.records.Resource factor)`
  `static float`
  Resources.`ratio(ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource rhs)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`roundDown(ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource factor)`
  `static org.apache.hadoop.yarn.api.records.Resource`
  Resources.`roundUp(ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource lhs, org.apache.hadoop.yarn.api.records.Resource factor)`