Package com.dotcms.repackage.org.elasticsearch.action.admin.cluster.health

Examples of com.dotcms.repackage.org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus


    jsonNode.put("clusterName", clusterRes.getClusterName());
    jsonNode.put("numberOfNodes", clusterRes.getNumberOfNodes());
    jsonNode.put("activeShards", clusterRes.getActiveShards());
    jsonNode.put("activePrimaryShards", clusterRes.getActivePrimaryShards());
    jsonNode.put("unasignedPrimaryShards", clusterRes.getUnassignedShards());
    ClusterHealthStatus clusterStatus = clusterRes.getStatus();
    jsonNode.put("status", clusterStatus);

        return responseResource.response( jsonNode.toString() );

    }
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus

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.