org.apache.hadoop.hbase.master
Class MetricsMasterWrapperImpl

java.lang.Object
  extended by org.apache.hadoop.hbase.master.MetricsMasterWrapperImpl
All Implemented Interfaces:
MetricsMasterWrapper

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()
           
 int getDeadRegionServers()
           
 boolean getIsActiveMaster()
           
 int 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 int getRegionServers()
Specified by:
getRegionServers in interface MetricsMasterWrapper

getDeadRegionServers

public int getDeadRegionServers()
Specified by:
getDeadRegionServers in interface MetricsMasterWrapper

getServerName

public String getServerName()
Specified by:
getServerName in interface MetricsMasterWrapper

getIsActiveMaster

public boolean getIsActiveMaster()
Specified by:
getIsActiveMaster in interface MetricsMasterWrapper


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.