|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.io.VersionedWritable
org.apache.hadoop.hbase.ClusterStatus
@InterfaceAudience.Public @InterfaceStability.Evolving public class ClusterStatus
Status information on the HBase cluster.
ClusterStatus provides clients with information such as:
Constructor Summary | |
---|---|
ClusterStatus()
Deprecated. Used by Writables and Writables are going away. |
|
ClusterStatus(String hbaseVersion,
String clusterid,
Map<ServerName,ServerLoad> servers,
Collection<ServerName> deadServers,
ServerName master,
Collection<ServerName> backupMasters,
Map<String,RegionState> rit,
String[] masterCoprocessors,
Boolean balancerOn)
|
Methods inherited from class org.apache.hadoop.io.VersionedWritable |
---|
readFields, write |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public ClusterStatus()
public ClusterStatus(String hbaseVersion, String clusterid, Map<ServerName,ServerLoad> servers, Collection<ServerName> deadServers, ServerName master, Collection<ServerName> backupMasters, Map<String,RegionState> rit, String[] masterCoprocessors, Boolean balancerOn)
Method Detail |
---|
public Collection<ServerName> getDeadServerNames()
public int getServersSize()
public int getDeadServers()
public double getAverageLoad()
public int getRegionsCount()
public int getRequestsCount()
public String getHBaseVersion()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public byte getVersion()
getVersion
in class org.apache.hadoop.io.VersionedWritable
public Collection<ServerName> getServerInfo()
getServers()
ServerName
.
public Collection<ServerName> getServers()
public ServerName getMaster()
ServerName
.
public int getBackupMastersSize()
public Collection<ServerName> getBackupMasters()
public ServerLoad getLoad(ServerName sn)
sn
-
@InterfaceAudience.Private public Map<String,RegionState> getRegionsInTransition()
public String getClusterId()
public String[] getMasterCoprocessors()
public boolean isBalancerOn()
public Boolean getBalancerOn()
public String toString()
toString
in class Object
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus convert()
public static ClusterStatus convert(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus proto)
proto
- the protobuf ClusterStatus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |