- <init>
Copy Constructor.
- getTotalMemoryMb
- remove
Remove the resources in other from this.
- add
- areAnyOverZero
- calculateAveragePercentageUsedBy
Calculate the average percentage used.
- calculateMinPercentageUsedBy
Calculate the min percentage used of the resource.
- couldHoldIgnoringSharedMemory
Check if resources might be able to fit.
- getNormalizedResources
- toNormalizedMap
Return these resources as a normalized map.
- updateForRareResourceAffinity
If a node or rack has a kind of resource not in a request, make that resource
negative so when sorti