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