• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ApplicationAttemptStateDataProtoOrBuilder类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProtoOrBuilder的典型用法代码示例。如果您正苦于以下问题:Java ApplicationAttemptStateDataProtoOrBuilder类的具体用法?Java ApplicationAttemptStateDataProtoOrBuilder怎么用?Java ApplicationAttemptStateDataProtoOrBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

ApplicationAttemptStateDataProtoOrBuilder类属于org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos包,在下文中一共展示了ApplicationAttemptStateDataProtoOrBuilder类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getAppAttemptTokens

点赞 2

import org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProtoOrBuilder; //导入依赖的package包/类
@Override
public ByteBuffer getAppAttemptTokens() {
  ApplicationAttemptStateDataProtoOrBuilder p = viaProto ? proto : builder;
  if(appAttemptTokens != null) {
    return appAttemptTokens;
  }
  if(!p.hasAppAttemptTokens()) {
    return null;
  }
  this.appAttemptTokens = convertFromProtoFormat(p.getAppAttemptTokens());
  return appAttemptTokens;
}
 

开发者ID:ict-carch,
项目名称:hadoop-plus,
代码行数:13,
代码来源:ApplicationAttemptStateDataPBImpl.java

示例2: getState

点赞 2

import org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProtoOrBuilder; //导入依赖的package包/类
@Override
public RMAppAttemptState getState() {
  ApplicationAttemptStateDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasAppAttemptState()) {
    return null;
  }
  return convertFromProtoFormat(p.getAppAttemptState());
}
 

开发者ID:Seagate,
项目名称:hadoop-on-lustre2,
代码行数:9,
代码来源:ApplicationAttemptStateDataPBImpl.java

示例3: getFinalTrackingUrl

点赞 2

import org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProtoOrBuilder; //导入依赖的package包/类
@Override
public String getFinalTrackingUrl() {
  ApplicationAttemptStateDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalTrackingUrl()) {
    return null;
  }
  return p.getFinalTrackingUrl();
}
 

开发者ID:Seagate,
项目名称:hadoop-on-lustre2,
代码行数:9,
代码来源:ApplicationAttemptStateDataPBImpl.java

示例4: getDiagnostics

点赞 2

import org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProtoOrBuilder; //导入依赖的package包/类
@Override
public String getDiagnostics() {
  ApplicationAttemptStateDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnostics()) {
    return null;
  }
  return p.getDiagnostics();
}
 

开发者ID:Seagate,
项目名称:hadoop-on-lustre2,
代码行数:9,
代码来源:ApplicationAttemptStateDataPBImpl.java

示例5: getFinalApplicationStatus

点赞 2

import org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProtoOrBuilder; //导入依赖的package包/类
@Override
public FinalApplicationStatus getFinalApplicationStatus() {
  ApplicationAttemptStateDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalApplicationStatus()) {
    return null;
  }
  return convertFromProtoFormat(p.getFinalApplicationStatus());
}
 

开发者ID:Seagate,
项目名称:hadoop-on-lustre2,
代码行数:9,
代码来源:ApplicationAttemptStateDataPBImpl.java

示例6: getStartTime

点赞 2

import org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProtoOrBuilder; //导入依赖的package包/类
@Override
public long getStartTime() {
  ApplicationAttemptStateDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getStartTime();
}
 

开发者ID:Seagate,
项目名称:hadoop-on-lustre2,
代码行数:6,
代码来源:ApplicationAttemptStateDataPBImpl.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)