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