Uses of Class
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ResourceVector
Packages that use ResourceVector
-
Uses of ResourceVector in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity
Fields in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity with type parameters of type ResourceVectorModifier and TypeFieldDescriptionprotected final Map<String,ResourceVector> ResourceCalculationDriver.batchRemainingResourcePerLabelprotected final Map<String,ResourceVector> ResourceCalculationDriver.normalizedResourceRatioPerLabelprotected final Map<String,ResourceVector> ResourceCalculationDriver.overallRemainingResourcePerLabelMethods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity that return ResourceVectorModifier and TypeMethodDescriptionResourceCalculationDriver.getBatchRemainingResource(String label) Returns the remaining resources of a parent that is still available for its children.static ResourceVectorResourceVector.newInstance()Creates a newResourceVectorwith all pre-defined resources set to zero.static ResourceVectorResourceVector.of(double value) Creates a newResourceVectorwith all pre-defined resources set to the same value.static ResourceVectorResourceVector.of(org.apache.hadoop.yarn.api.records.Resource resource) Creates a newResourceVectorwith the values set in aResourceobject.Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity that return types with arguments of type ResourceVectorModifier and TypeMethodDescriptionResourceCalculationDriver.getNormalizedResourceRatios()Returns the ratio of the summary of children absolute configured resources and the parent's effective minimum resource.Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity with parameters of type ResourceVectorModifier and TypeMethodDescriptionvoidResourceVector.decrement(ResourceVector otherResourceVector) Decrements values for each resource defined in the given resource vector.