Package | Description |
---|---|
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
ResourceInformation |
Resource.getResourceInformation(int index)
Get ResourceInformation for a specified resource from a given index.
|
void |
Resource.setResourceInformation(int index,
ResourceInformation resourceInformation)
Set the ResourceInformation object for a particular resource.
|
void |
Resource.setResourceValue(int index,
long value)
Set the value of a resource in the ResourceInformation object.
|
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.