Package org.apache.hadoop.yarn.proto.YarnServerCommonProtos

Examples of org.apache.hadoop.yarn.proto.YarnServerCommonProtos.RegistrationResponseProtoOrBuilder


    viaProto = false;
  }

  @Override
  public ByteBuffer getSecretKey() {
    RegistrationResponseProtoOrBuilder p = viaProto ? proto : builder;
    if (this.secretKey != null) {
      return this.secretKey;
    }
    if (!p.hasSecretKey()) {
      return null;
    }
    this.secretKey = convertFromProtoFormat(p.getSecretKey());
    return this.secretKey;
  }
View Full Code Here


    this.secretKey = secretKey;
  }

  @Override
  public NodeAction getNodeAction() {
    RegistrationResponseProtoOrBuilder p = viaProto ? proto : builder;
    if(!p.hasNodeAction()) {
      return null;
    }
    return convertFromProtoFormat(p.getNodeAction());
  }
View Full Code Here

    viaProto = false;
  }

  @Override
  public MasterKey getMasterKey() {
    RegistrationResponseProtoOrBuilder p = viaProto ? proto : builder;
    if (this.masterKey != null) {
      return this.masterKey;
    }
    if (!p.hasMasterKey()) {
      return null;
    }
    this.masterKey = convertFromProtoFormat(p.getMasterKey());
    return this.masterKey;
  }
View Full Code Here

    this.masterKey = masterKey;
  }
 
  @Override
  public NodeAction getNodeAction() {
    RegistrationResponseProtoOrBuilder p = viaProto ? proto : builder;
    if(!p.hasNodeAction()) {
      return null;
    }
    return convertFromProtoFormat(p.getNodeAction());
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.yarn.proto.YarnServerCommonProtos.RegistrationResponseProtoOrBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.