public class ActivityNode extends Object
Constructor and Description |
---|
ActivityNode(String activityNodeName,
String parentName,
Integer priority,
ActivityState state,
String diagnostic,
ActivityLevel level,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
Long allocationRequestId) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(ActivityNode node) |
Long |
getAllocationRequestId() |
Integer |
getAppPriority() |
List<ActivityNode> |
getChildren() |
String |
getDiagnostic() |
String |
getName() |
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId() |
String |
getParentName() |
Integer |
getRequestPriority() |
String |
getShortDiagnostic() |
ActivityState |
getState() |
boolean |
isAppType() |
boolean |
isRequestType() |
String |
toString() |
public ActivityNode(String activityNodeName, String parentName, Integer priority, ActivityState state, String diagnostic, ActivityLevel level, org.apache.hadoop.yarn.api.records.NodeId nodeId, Long allocationRequestId)
public String getName()
public String getParentName()
public void addChild(ActivityNode node)
public List<ActivityNode> getChildren()
public ActivityState getState()
public String getDiagnostic()
public Integer getAppPriority()
public Integer getRequestPriority()
public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
public Long getAllocationRequestId()
public boolean isAppType()
public boolean isRequestType()
public String getShortDiagnostic()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.