Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records | |
org.apache.hadoop.yarn.util.resource |
Package org.apache.hadoop.yarn.util.resource contains classes
which is used as utility class for resource profile computations.
|
Modifier and Type | Method and Description |
---|---|
abstract List<ResourceTypeInfo> |
GetAllResourceTypeInfoResponse.getResourceTypeInfo() |
Modifier and Type | Method and Description |
---|---|
abstract void |
GetAllResourceTypeInfoResponse.setResourceTypeInfo(List<ResourceTypeInfo> resourceTypes) |
Modifier and Type | Method and Description |
---|---|
static ResourceTypeInfo |
ResourceTypeInfo.newInstance(ResourceTypeInfo other)
Create a new instance of ResourceTypeInfo from another object.
|
static ResourceTypeInfo |
ResourceTypeInfo.newInstance(String name)
Create a new instance of ResourceTypeInfo from name.
|
static ResourceTypeInfo |
ResourceTypeInfo.newInstance(String name,
String units)
Create a new instance of ResourceTypeInfo from name, units.
|
static ResourceTypeInfo |
ResourceTypeInfo.newInstance(String name,
String units,
ResourceTypes type)
Create a new instance of ResourceTypeInfo from name, units and type.
|
Modifier and Type | Method and Description |
---|---|
int |
ResourceTypeInfo.compareTo(ResourceTypeInfo other) |
static void |
ResourceTypeInfo.copy(ResourceTypeInfo src,
ResourceTypeInfo dst)
Copies the content of the source ResourceTypeInfo object to the
destination object, overwriting all properties of the destination object.
|
static ResourceTypeInfo |
ResourceTypeInfo.newInstance(ResourceTypeInfo other)
Create a new instance of ResourceTypeInfo from another object.
|
Modifier and Type | Method and Description |
---|---|
static List<ResourceTypeInfo> |
ResourceUtils.getResourcesTypeInfo()
Get all resource types information from known resource types.
|
Copyright © 2019 Apache Software Foundation. All Rights Reserved.