Package com.complexible.stardog.api.admin.pack

# Class ClusterStatusView

java.lang.Object
com.complexible.stardog.api.admin.pack.ClusterStatusView

public class ClusterStatusView extends Object
Cluster status view for api response serialization/deserialization to JSON

Since:
  7.5
Version:
  7.5
Author:
  Robert Myers

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClusterStatusView()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addNode(ClusterNodeStatus newMember)`
  Add a node to the list of nodes in the cluster.
  `List<ClusterNodeStatus>`
  `getNodes()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ClusterStatusView

    public ClusterStatusView()

- ## Method Details

  - ### addNode

    public void addNode(ClusterNodeStatus newMember)
    Add a node to the list of nodes in the cluster.
    Parameters:
      `newMember` - New node to insert into array if the node is a coordinator it will be inserted in the first position.

  - ### getNodes

    public List<ClusterNodeStatus> getNodes()