本文整理汇总了Java中org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder类的典型用法代码示例。如果您正苦于以下问题:Java ContainerReportProtoOrBuilder类的具体用法?Java ContainerReportProtoOrBuilder怎么用?Java ContainerReportProtoOrBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ContainerReportProtoOrBuilder类属于org.apache.hadoop.yarn.proto.YarnProtos包,在下文中一共展示了ContainerReportProtoOrBuilder类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getAllocatedResource
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public Resource getAllocatedResource() {
if (this.resource != null) {
return this.resource;
}
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasResource()) {
return null;
}
this.resource = convertFromProtoFormat(p.getResource());
return this.resource;
}
开发者ID:naver,项目名称:hadoop,代码行数:13,代码来源:ContainerReportPBImpl.java
示例2: getAssignedNode
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public NodeId getAssignedNode() {
if (this.nodeId != null) {
return this.nodeId;
}
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasNodeId()) {
return null;
}
this.nodeId = convertFromProtoFormat(p.getNodeId());
return this.nodeId;
}
开发者ID:naver,项目名称:hadoop,代码行数:13,代码来源:ContainerReportPBImpl.java
示例3: getContainerId
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public ContainerId getContainerId() {
if (this.containerId != null) {
return this.containerId;
}
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasContainerId()) {
return null;
}
this.containerId = convertFromProtoFormat(p.getContainerId());
return this.containerId;
}
开发者ID:naver,项目名称:hadoop,代码行数:13,代码来源:ContainerReportPBImpl.java
示例4: getDiagnosticsInfo
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public String getDiagnosticsInfo() {
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasDiagnosticsInfo()) {
return null;
}
return (p.getDiagnosticsInfo());
}
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ContainerReportPBImpl.java
示例5: getContainerState
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public ContainerState getContainerState() {
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasContainerState()) {
return null;
}
return convertFromProtoFormat(p.getContainerState());
}
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ContainerReportPBImpl.java
示例6: getLogUrl
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public String getLogUrl() {
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasLogUrl()) {
return null;
}
return (p.getLogUrl());
}
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ContainerReportPBImpl.java
示例7: getPriority
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public Priority getPriority() {
if (this.priority != null) {
return this.priority;
}
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasPriority()) {
return null;
}
this.priority = convertFromProtoFormat(p.getPriority());
return this.priority;
}
开发者ID:naver,项目名称:hadoop,代码行数:13,代码来源:ContainerReportPBImpl.java
示例8: getNodeHttpAddress
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder; //导入依赖的package包/类
@Override
public String getNodeHttpAddress() {
ContainerReportProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasNodeHttpAddress()) {
return null;
}
return (p.getNodeHttpAddress());
}
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ContainerReportPBImpl.java
注:本文中的org.apache.hadoop.yarn.proto.YarnProtos.ContainerReportProtoOrBuilder类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论