@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ResourceSizing extends Object
ResourceSizing contains information for the size of a
 SchedulingRequest, such as the number of requested allocations and
 the resources for each allocation.| Constructor and Description | 
|---|
| ResourceSizing() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| abstract int | getNumAllocations() | 
| abstract Resource | getResources() | 
| int | hashCode() | 
| static ResourceSizing | newInstance(int numAllocations,
           Resource resources) | 
| static ResourceSizing | newInstance(Resource resources) | 
| abstract void | setNumAllocations(int numAllocations) | 
| abstract void | setResources(Resource resources) | 
@InterfaceAudience.Public @InterfaceStability.Unstable public static ResourceSizing newInstance(Resource resources)
@InterfaceAudience.Public @InterfaceStability.Unstable public static ResourceSizing newInstance(int numAllocations, Resource resources)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumAllocations()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setNumAllocations(int numAllocations)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Resource getResources()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setResources(Resource resources)
Copyright © 2023 Apache Software Foundation. All rights reserved.