Class ClusterStatusView
- java.lang.Object
-
- com.complexible.stardog.api.admin.pack.ClusterStatusView
-
public class ClusterStatusView extends java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNode(ClusterNodeStatus newMember)
Add a node to the list of nodes in the cluster.java.util.List<ClusterNodeStatus>
getNodes()
-
-
-
Method Detail
-
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 java.util.List<ClusterNodeStatus> getNodes()
-
-