Java 类org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProtoOrBuilder 实例源码

项目:hadoop    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:hadoop    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop    文件:QueueInfoPBImpl.java   
private void initNodeLabels() {
  if (this.accessibleNodeLabels != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  this.accessibleNodeLabels = new HashSet<String>();
  this.accessibleNodeLabels.addAll(p.getAccessibleNodeLabelsList());
}
项目:aliyun-oss-hadoop-fs    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:aliyun-oss-hadoop-fs    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:aliyun-oss-hadoop-fs    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:aliyun-oss-hadoop-fs    文件:QueueInfoPBImpl.java   
private void initNodeLabels() {
  if (this.accessibleNodeLabels != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  this.accessibleNodeLabels = new HashSet<String>();
  this.accessibleNodeLabels.addAll(p.getAccessibleNodeLabelsList());
}
项目:big-c    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:big-c    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:big-c    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:big-c    文件:QueueInfoPBImpl.java   
private void initNodeLabels() {
  if (this.accessibleNodeLabels != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  this.accessibleNodeLabels = new HashSet<String>();
  this.accessibleNodeLabels.addAll(p.getAccessibleNodeLabelsList());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:QueueInfoPBImpl.java   
private void initNodeLabels() {
  if (this.accessibleNodeLabels != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  this.accessibleNodeLabels = new HashSet<String>();
  this.accessibleNodeLabels.addAll(p.getAccessibleNodeLabelsList());
}
项目:hadoop-plus    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:hadoop-plus    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop-plus    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:hops    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:hops    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:hops    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:hops    文件:QueueInfoPBImpl.java   
private void initNodeLabels() {
  if (this.accessibleNodeLabels != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  this.accessibleNodeLabels = new HashSet<String>();
  this.accessibleNodeLabels.addAll(p.getAccessibleNodeLabelsList());
}
项目:hadoop-TCP    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:hadoop-TCP    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop-TCP    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:hardfs    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:hardfs    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:hardfs    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop-on-lustre2    文件:QueueInfoPBImpl.java   
@Override
public QueueState getQueueState() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasState()) {
    return null;
  }
  return convertFromProtoFormat(p.getState());
}
项目:hadoop-on-lustre2    文件:QueueInfoPBImpl.java   
private void initLocalApplicationsList() {
  if (this.applicationsList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<ApplicationReportProto> list = p.getApplicationsList();
  applicationsList = new ArrayList<ApplicationReport>();

  for (ApplicationReportProto a : list) {
    applicationsList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop-on-lustre2    文件:QueueInfoPBImpl.java   
private void initLocalChildQueuesList() {
  if (this.childQueuesList != null) {
    return;
  }
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  List<QueueInfoProto> list = p.getChildQueuesList();
  childQueuesList = new ArrayList<QueueInfo>();

  for (QueueInfoProto a : list) {
    childQueuesList.add(convertFromProtoFormat(a));
  }
}
项目:hadoop    文件:QueueInfoPBImpl.java   
@Override
public float getCapacity() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasCapacity()) ? p.getCapacity() : -1;
}
项目:hadoop    文件:QueueInfoPBImpl.java   
@Override
public float getCurrentCapacity() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasCurrentCapacity()) ? p.getCurrentCapacity() : 0;
}
项目:hadoop    文件:QueueInfoPBImpl.java   
@Override
public float getMaximumCapacity() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasMaximumCapacity()) ? p.getMaximumCapacity() : -1;
}
项目:hadoop    文件:QueueInfoPBImpl.java   
@Override
public String getQueueName() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasQueueName()) ? p.getQueueName() : null;
}
项目:hadoop    文件:QueueInfoPBImpl.java   
@Override
public String getDefaultNodeLabelExpression() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasDefaultNodeLabelExpression()) ? p
      .getDefaultNodeLabelExpression().trim() : null;
}
项目:aliyun-oss-hadoop-fs    文件:QueueInfoPBImpl.java   
@Override
public float getCapacity() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasCapacity()) ? p.getCapacity() : -1;
}
项目:aliyun-oss-hadoop-fs    文件:QueueInfoPBImpl.java   
@Override
public float getCurrentCapacity() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasCurrentCapacity()) ? p.getCurrentCapacity() : 0;
}
项目:aliyun-oss-hadoop-fs    文件:QueueInfoPBImpl.java   
@Override
public float getMaximumCapacity() {
  QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
  return (p.hasMaximumCapacity()) ? p.getMaximumCapacity() : -1;
}