Examples of HostHealthStatus


Examples of org.apache.ambari.server.state.HostHealthStatus

    Set<HostResponse> allResponse = new HashSet<HostResponse>();
    allResponse.add(new HostResponse("Host100", "Cluster100",
        "", "", 2, "", "", "", 100000L, 200000L, null, 10L,
        0L, "rack info", null, null,
        new HostHealthStatus(HostHealthStatus.HealthStatus.HEALTHY, "HEALTHY"), "HEALTHY"));
    allResponse.add(new HostResponse("Host101", "Cluster100",
        "", "", 2, "", "", "", 100000L, 200000L, null, 10L,
        0L, "rack info", null, null,
        new HostHealthStatus(HostHealthStatus.HealthStatus.HEALTHY, "HEALTHY"), "HEALTHY"));
    allResponse.add(new HostResponse("Host102", "Cluster100",
        "", "", 2, "", "", "", 100000L, 200000L, null, 10L,
        0L, "rack info", null, null,
        new HostHealthStatus(HostHealthStatus.HealthStatus.HEALTHY, "HEALTHY"), "HEALTHY"));

    // set expectations
    expect(managementController.getHosts(
        AbstractResourceProviderTest.Matcher.getHostRequestSet(null, "Cluster100", null))).
        andReturn(allResponse).once();
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.