org.apache.hadoop.hbase.master
Interface MetricsMasterWrapper

All Known Implementing Classes:
MetricsMasterWrapperImpl

public interface MetricsMasterWrapper

This is the interface that will expose information to hadoop1/hadoop2 implementations of the MetricsMasterSource.


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
 

Method Detail

getServerName

String getServerName()
Get ServerName


getAverageLoad

double getAverageLoad()
Get Average Load

Returns:
Average Load

getClusterId

String getClusterId()
Get the Cluster ID

Returns:
Cluster ID

getZookeeperQuorum

String getZookeeperQuorum()
Get the Zookeeper Quorum Info

Returns:
Zookeeper Quorum Info

getCoprocessors

String[] getCoprocessors()
Get the co-processors

Returns:
Co-processors

getStartTime

long getStartTime()
Get hbase master start time

Returns:
Start time of master in milliseconds

getActiveTime

long getActiveTime()
Get the hbase master active time

Returns:
Time in milliseconds when master became active

getIsActiveMaster

boolean getIsActiveMaster()
Whether this master is the active master

Returns:
True if this is the active master

getRegionServers

int getRegionServers()
Get the live region servers

Returns:
Live region servers

getDeadRegionServers

int getDeadRegionServers()
Get the dead region servers

Returns:
Dead region Servers


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