org.apache.hadoop.hbase.master
Class MetricsMasterWrapperImpl
java.lang.Object
org.apache.hadoop.hbase.master.MetricsMasterWrapperImpl
- All Implemented Interfaces:
- MetricsMasterWrapper
@InterfaceAudience.Private
public class MetricsMasterWrapperImpl
- extends Object
- implements MetricsMasterWrapper
Impl for exposing HMaster Information through JMX
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsMasterWrapperImpl
public MetricsMasterWrapperImpl(HMaster master)
getAverageLoad
public double getAverageLoad()
- Specified by:
getAverageLoad in interface MetricsMasterWrapper
getClusterId
public String getClusterId()
- Specified by:
getClusterId in interface MetricsMasterWrapper
getZookeeperQuorum
public String getZookeeperQuorum()
- Specified by:
getZookeeperQuorum in interface MetricsMasterWrapper
getCoprocessors
public String[] getCoprocessors()
- Specified by:
getCoprocessors in interface MetricsMasterWrapper
getStartTime
public long getStartTime()
- Specified by:
getStartTime in interface MetricsMasterWrapper
getActiveTime
public long getActiveTime()
- Specified by:
getActiveTime in interface MetricsMasterWrapper
getRegionServers
public String getRegionServers()
- Specified by:
getRegionServers in interface MetricsMasterWrapper
getNumRegionServers
public int getNumRegionServers()
- Specified by:
getNumRegionServers in interface MetricsMasterWrapper
getDeadRegionServers
public String getDeadRegionServers()
- Specified by:
getDeadRegionServers in interface MetricsMasterWrapper
getNumDeadRegionServers
public int getNumDeadRegionServers()
- Specified by:
getNumDeadRegionServers in interface MetricsMasterWrapper
getServerName
public String getServerName()
- Specified by:
getServerName in interface MetricsMasterWrapper
getIsActiveMaster
public boolean getIsActiveMaster()
- Specified by:
getIsActiveMaster in interface MetricsMasterWrapper
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.