ClusterConnectorpublic class JsonNodeConnector extends java.lang.Object implements ClusterConnector
| Constructor | Description |
|---|---|
JsonNodeConnector(java.net.URL clusterURI) |
Constructs a JsonNodeConnector.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getConnectorInfo() |
Returns info about the connector.
|
java.util.List<DiskBalancerDataNode> |
getNodes() |
getNodes function connects to a cluster definition file
and returns nodes defined in that file.
|
public JsonNodeConnector(java.net.URL clusterURI)
clusterURI - - A file URL that contains cluster information.public java.util.List<DiskBalancerDataNode> getNodes() throws java.lang.Exception
getNodes in interface ClusterConnectorjava.lang.Exceptionpublic java.lang.String getConnectorInfo()
getConnectorInfo in interface ClusterConnectorCopyright © 2008–2025 Apache Software Foundation. All rights reserved.