client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java
public ODocument clusterStatus() {

    ODistributedStatusRequest request = new ODistributedStatusRequest();

    ODistributedStatusResponse response = storage.networkOperation(request, "Error on executing Cluster status ");

    OLogManager.instance().debug(this, "Cluster status %s", response.getClusterConfig().toJSON("prettyPrint"));
    return response.getClusterConfig();
  }
public ODocument clusterStatus() {

    ODistributedStatusRequest request = new ODistributedStatusRequest();

    ODistributedStatusResponse response = storage.networkOperation(request, "Error on executing Cluster status ");

    OLogManager.instance().debug(this, "Cluster status %s", response.getClusterConfig().toJSON("prettyPrint"));
    return response.getClusterConfig();
  }
public ODocument clusterStatus ( ) { ODistributedStatusRequest request = new ODistributedStatusRequest ( ) ; ODistributedStatusResponse response = storage . networkOperation ( request , "Error on executing Cluster status " ) ; OLogManager . instance ( ) . debug ( this , "Cluster status %s" , response . getClusterConfig ( ) . toJSON ( "prettyPrint" ) ) ; return response . getClusterConfig ( ) ; }
Gets the cluster status.

@return the JSON containing the current cluster structure
Gets the cluster status .