|
||||||||||
| 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
public class ClusterStatus
Status information on the HBase cluster.
ClusterStatus provides clients with information such as:
| Constructor Summary | |
|---|---|
ClusterStatus()
Constructor, for Writable |
|
ClusterStatus(String hbaseVersion,
String clusterid,
Map<ServerName,HServerLoad> servers,
Collection<ServerName> deadServers,
Map<String,AssignmentManager.RegionState> rit,
String[] masterCoprocessors)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
double |
getAverageLoad()
|
String |
getClusterId()
|
Collection<ServerName> |
getDeadServerNames()
|
int |
getDeadServers()
|
String |
getHBaseVersion()
|
HServerLoad |
getLoad(ServerName sn)
|
String[] |
getMasterCoprocessors()
|
int |
getRegionsCount()
|
Map<String,AssignmentManager.RegionState> |
getRegionsInTransition()
|
int |
getRequestsCount()
|
Collection<ServerName> |
getServerInfo()
Deprecated. Use getServers() |
Collection<ServerName> |
getServers()
|
int |
getServersSize()
|
byte |
getVersion()
|
int |
hashCode()
|
void |
readFields(DataInput in)
|
void |
write(DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClusterStatus()
public ClusterStatus(String hbaseVersion,
String clusterid,
Map<ServerName,HServerLoad> servers,
Collection<ServerName> deadServers,
Map<String,AssignmentManager.RegionState> rit,
String[] masterCoprocessors)
| 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 ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public byte getVersion()
getVersion in class org.apache.hadoop.io.VersionedWritablepublic Collection<ServerName> getServerInfo()
getServers()
ServerName.
public Collection<ServerName> getServers()
public HServerLoad getLoad(ServerName sn)
sn -
public Map<String,AssignmentManager.RegionState> getRegionsInTransition()
public String getClusterId()
public String[] getMasterCoprocessors()
public void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class org.apache.hadoop.io.VersionedWritableIOException
public void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class org.apache.hadoop.io.VersionedWritableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||