@Public
@Unstable
public abstract class ResourceSizing
extends java.lang.Object
ResourceSizing contains information for the size of a
SchedulingRequest, such as the number of requested allocations and
the resources for each allocation.| Constructor | Description |
|---|---|
ResourceSizing() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.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) |
@Public @Unstable public static ResourceSizing newInstance(Resource resources)
@Public @Unstable public static ResourceSizing newInstance(int numAllocations, Resource resources)
@Public @Unstable public abstract int getNumAllocations()
@Public @Unstable public abstract void setNumAllocations(int numAllocations)
@Public @Unstable public abstract Resource getResources()
@Public @Unstable public abstract void setResources(Resource resources)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.