|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.master.MetricsMasterWrapperImpl
public class MetricsMasterWrapperImpl
Impl for exposing HMaster Information through JMX
| Constructor Summary | |
|---|---|
MetricsMasterWrapperImpl(HMaster master)
|
|
| Method Summary | |
|---|---|
long |
getActiveTime()
Get the hbase master active time |
double |
getAverageLoad()
Get Average Load |
String |
getClusterId()
Get the Cluster ID |
String[] |
getCoprocessors()
Get the co-processors |
int |
getDeadRegionServers()
Get the dead region servers |
boolean |
getIsActiveMaster()
Whether this master is the active master |
int |
getRegionServers()
Get the live region servers |
String |
getServerName()
Get ServerName |
long |
getStartTime()
Get hbase master start time |
String |
getZookeeperQuorum()
Get the Zookeeper Quorum Info |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetricsMasterWrapperImpl(HMaster master)
| Method Detail |
|---|
public double getAverageLoad()
MetricsMasterWrapper
getAverageLoad in interface MetricsMasterWrapperpublic String getClusterId()
MetricsMasterWrapper
getClusterId in interface MetricsMasterWrapperpublic String getZookeeperQuorum()
MetricsMasterWrapper
getZookeeperQuorum in interface MetricsMasterWrapperpublic String[] getCoprocessors()
MetricsMasterWrapper
getCoprocessors in interface MetricsMasterWrapperpublic long getStartTime()
MetricsMasterWrapper
getStartTime in interface MetricsMasterWrapperpublic long getActiveTime()
MetricsMasterWrapper
getActiveTime in interface MetricsMasterWrapperpublic int getRegionServers()
MetricsMasterWrapper
getRegionServers in interface MetricsMasterWrapperpublic int getDeadRegionServers()
MetricsMasterWrapper
getDeadRegionServers in interface MetricsMasterWrapperpublic String getServerName()
MetricsMasterWrapper
getServerName in interface MetricsMasterWrapperpublic boolean getIsActiveMaster()
MetricsMasterWrapper
getIsActiveMaster in interface MetricsMasterWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||