Class NodeIDsInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.NodeIDsInfo
XML element uses to represent NodeIds' list.
-
Field Summary
FieldsModifier and TypeFieldDescriptionSet doesn't support default no arg constructor which is req by JAXB -
Constructor Summary
ConstructorsConstructorDescriptionNodeIDsInfo(Collection<String> nodeIdsList, PartitionInfo partitionInfo) NodeIDsInfo(List<String> nodeIdsList) NodeIDsInfo(List<String> nodeIdsList, org.apache.hadoop.yarn.api.records.Resource resource) -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeIDsInfoadd(NodeIDsInfo left, NodeIDsInfo right) This method will generate a new NodeIDsInfo object based on the two NodeIDsInfo objects.
-
Field Details
-
nodeIDsList
Set doesn't support default no arg constructor which is req by JAXB
-
-
Constructor Details
-
NodeIDsInfo
public NodeIDsInfo() -
NodeIDsInfo
-
NodeIDsInfo
-
NodeIDsInfo
-
-
Method Details
-
getNodeIDs
-
getPartitionInfo
-
add
This method will generate a new NodeIDsInfo object based on the two NodeIDsInfo objects. The information to be combined includes the node list (removed duplicate node) and partitionInfo object.- Parameters:
left- left NodeIDsInfo Object.right- right NodeIDsInfo Object.- Returns:
- new NodeIDsInfo Object.
-