|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.api.protocolrecords.UpdateNodeResourceRequest
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class UpdateNodeResourceRequest
The request sent by admin to change a list of nodes' resource to the
ResourceManager.
The request contains details such as a map from NodeId to
ResourceOption for updating the RMNodes' resources in
ResourceManager.
ResourceManagerAdministrationProtocol.updateNodeResource(
UpdateNodeResourceRequest)| Constructor Summary | |
|---|---|
UpdateNodeResourceRequest()
|
|
| Method Summary | |
|---|---|
abstract Map<NodeId,ResourceOption> |
getNodeResourceMap()
Get the map from NodeId to ResourceOption. |
static UpdateNodeResourceRequest |
newInstance(Map<NodeId,ResourceOption> nodeResourceMap)
|
abstract void |
setNodeResourceMap(Map<NodeId,ResourceOption> nodeResourceMap)
Set the map from NodeId to ResourceOption. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateNodeResourceRequest()
| Method Detail |
|---|
@InterfaceAudience.Public @InterfaceStability.Evolving public static UpdateNodeResourceRequest newInstance(Map<NodeId,ResourceOption> nodeResourceMap)
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract Map<NodeId,ResourceOption> getNodeResourceMap()
NodeId to ResourceOption.
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract void setNodeResourceMap(Map<NodeId,ResourceOption> nodeResourceMap)
NodeId to ResourceOption.
nodeResourceMap - the map of
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||