org.apache.hadoop.hbase.master
Class MetricsMasterWrapperImpl

java.lang.Object
  extended by 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


Constructor Summary
MetricsMasterWrapperImpl(HMaster master)
           
 
Method Summary
 long getActiveTime()
           
 double getAverageLoad()
           
 String getClusterId()
           
 String[] getCoprocessors()
           
 String getDeadRegionServers()
           
 boolean getIsActiveMaster()
           
 int getNumDeadRegionServers()
           
 int getNumRegionServers()
           
 String getRegionServers()
           
 String getServerName()
           
 long getStartTime()
           
 String getZookeeperQuorum()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsMasterWrapperImpl

public MetricsMasterWrapperImpl(HMaster master)
Method Detail

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.