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

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


    this.viaProto = false;
  }

  @Override
  public boolean getIsNodeHealthy() {
    NodeHealthStatusProtoOrBuilder p =
        this.viaProto ? this.proto : this.builder;
    return p.getIsNodeHealthy();
  }
View Full Code Here


    this.builder.setIsNodeHealthy(isNodeHealthy);
  }

  @Override
  public String getHealthReport() {
    NodeHealthStatusProtoOrBuilder p =
        this.viaProto ? this.proto : this.builder;
    if (!p.hasHealthReport()) {
      return null;
    }
    return (p.getHealthReport());
  }
View Full Code Here

    this.builder.setHealthReport((healthReport));
  }

  @Override
  public long getLastHealthReportTime() {
    NodeHealthStatusProtoOrBuilder p =
        this.viaProto ? this.proto : this.builder;
    return (p.getLastHealthReportTime());
  }
View Full Code Here

TOP

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

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.