Class Cluster
java.lang.Object
org.apache.hadoop.hbase.rest.client.Cluster
A list of 'host:port' addresses of HTTP servers operating as a single entity, for example
 multiple redundant web service gateways.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
nodes
- 
lastHost
 
- 
- 
Constructor Details- 
Clusterpublic Cluster()Constructor
- 
ClusterConstructor- Parameters:
- nodes- a list of service locations, in 'host:port' format
 
 
- 
- 
Method Details- 
isEmptyReturns true if no locations have been added, false otherwise
- 
addAdd a node to the cluster- Parameters:
- node- the service location in 'host:port' format
 
- 
addAdd a node to the cluster- Parameters:
- name- host name
- port- service port
 
- 
removeRemove a node from the cluster- Parameters:
- node- the service location in 'host:port' format
 
- 
removeRemove a node from the cluster- Parameters:
- name- host name
- port- service port
 
- 
toString
 
-