Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.scheduler |
Modifier and Type | Method and Description |
---|---|
static AbstractResourceUsage.ResourceType |
AbstractResourceUsage.ResourceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractResourceUsage.ResourceType[] |
AbstractResourceUsage.ResourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractResourceUsage._dec(String label,
AbstractResourceUsage.ResourceType type,
org.apache.hadoop.yarn.api.records.Resource res) |
protected org.apache.hadoop.yarn.api.records.Resource |
AbstractResourceUsage._get(String label,
AbstractResourceUsage.ResourceType type) |
protected org.apache.hadoop.yarn.api.records.Resource |
AbstractResourceUsage._getAll(AbstractResourceUsage.ResourceType type) |
protected void |
AbstractResourceUsage._inc(String label,
AbstractResourceUsage.ResourceType type,
org.apache.hadoop.yarn.api.records.Resource res) |
protected void |
AbstractResourceUsage._set(String label,
AbstractResourceUsage.ResourceType type,
org.apache.hadoop.yarn.api.records.Resource res) |
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.