Package com.cloudera.api.model

Examples of com.cloudera.api.model.ApiHealthSummary.ordinal()


      for (ApiService apiService : apiResourceRootV6.getClustersResource()
            .getServicesResource(clusterName).readServices(DataView.SUMMARY)) {
         ApiHealthSummary health = apiService.getHealthSummary();
         logger.debug("Cluster " + clusterName + " Service "
         + apiService.getType() + " status is " + health);
         if (health.ordinal() > summary.ordinal()) {
            summary = health;
         }
      }
      logger.debug("Cluster " + clusterName + " Service status is " + summary);
      return summary;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.