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

项目:hadoop    文件:ContainerResourceDecreasePBImpl.java   
@Override
public ContainerId getContainerId() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.existingContainerId != null) {
    return this.existingContainerId;
  }
  if (p.hasContainerId()) {
    this.existingContainerId = convertFromProtoFormat(p.getContainerId());
  }
  return this.existingContainerId;
}
项目:hadoop    文件:ContainerResourceDecreasePBImpl.java   
@Override
public Resource getCapability() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.targetCapability != null) {
    return this.targetCapability;
  }
  if (p.hasCapability()) {
    this.targetCapability = convertFromProtoFormat(p.getCapability());
  }
  return this.targetCapability;
}
项目:big-c    文件:ContainerResourceDecreasePBImpl.java   
@Override
public ContainerId getContainerId() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.existingContainerId != null) {
    return this.existingContainerId;
  }
  if (p.hasContainerId()) {
    this.existingContainerId = convertFromProtoFormat(p.getContainerId());
  }
  return this.existingContainerId;
}
项目:big-c    文件:ContainerResourceDecreasePBImpl.java   
@Override
public Resource getCapability() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.targetCapability != null) {
    return this.targetCapability;
  }
  if (p.hasCapability()) {
    this.targetCapability = convertFromProtoFormat(p.getCapability());
  }
  return this.targetCapability;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ContainerResourceDecreasePBImpl.java   
@Override
public ContainerId getContainerId() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.existingContainerId != null) {
    return this.existingContainerId;
  }
  if (p.hasContainerId()) {
    this.existingContainerId = convertFromProtoFormat(p.getContainerId());
  }
  return this.existingContainerId;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ContainerResourceDecreasePBImpl.java   
@Override
public Resource getCapability() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.targetCapability != null) {
    return this.targetCapability;
  }
  if (p.hasCapability()) {
    this.targetCapability = convertFromProtoFormat(p.getCapability());
  }
  return this.targetCapability;
}
项目:hops    文件:ContainerResourceDecreasePBImpl.java   
@Override
public ContainerId getContainerId() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.existingContainerId != null) {
    return this.existingContainerId;
  }
  if (p.hasContainerId()) {
    this.existingContainerId = convertFromProtoFormat(p.getContainerId());
  }
  return this.existingContainerId;
}
项目:hops    文件:ContainerResourceDecreasePBImpl.java   
@Override
public Resource getCapability() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.targetCapability != null) {
    return this.targetCapability;
  }
  if (p.hasCapability()) {
    this.targetCapability = convertFromProtoFormat(p.getCapability());
  }
  return this.targetCapability;
}
项目:hadoop-on-lustre2    文件:ContainerResourceDecreasePBImpl.java   
@Override
public ContainerId getContainerId() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.existingContainerId != null) {
    return this.existingContainerId;
  }
  if (p.hasContainerId()) {
    this.existingContainerId = convertFromProtoFormat(p.getContainerId());
  }
  return this.existingContainerId;
}
项目:hadoop-on-lustre2    文件:ContainerResourceDecreasePBImpl.java   
@Override
public Resource getCapability() {
  ContainerResourceDecreaseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.targetCapability != null) {
    return this.targetCapability;
  }
  if (p.hasCapability()) {
    this.targetCapability = convertFromProtoFormat(p.getCapability());
  }
  return this.targetCapability;
}