org.apache.hadoop.hbase.master
Interface MXBean

All Known Implementing Classes:
MXBeanImpl

public interface MXBean

This is the JMX management interface for Hbase master information


Nested Class Summary
static interface MXBean.RegionsInTransitionInfo
          Required for MXBean implementation
 
Method Summary
 double getAverageLoad()
          Get Average Load
 String getClusterId()
          Get the Cluster ID
 String[] getCoprocessors()
          Get the co-processors
 String[] getDeadRegionServers()
          Get the dead region servers
 boolean getIsActiveMaster()
          Whether this master is the active master
 long getMasterActiveTime()
          Get the hbase master active time
 long getMasterStartTime()
          Get hbase master start time
 Map<String,HServerLoad> getRegionServers()
          Get the live region servers
 MXBean.RegionsInTransitionInfo[] getRegionsInTransition()
          Get information on regions in transition
 String getServerName()
          Get ServerName
 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

getMasterStartTime

long getMasterStartTime()
Get hbase master start time

Returns:
Start time of master in milliseconds

getMasterActiveTime

long getMasterActiveTime()
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

Map<String,HServerLoad> getRegionServers()
Get the live region servers

Returns:
Live region servers

getDeadRegionServers

String[] getDeadRegionServers()
Get the dead region servers

Returns:
Dead region Servers

getRegionsInTransition

MXBean.RegionsInTransitionInfo[] getRegionsInTransition()
Get information on regions in transition

Returns:
Regions in transition


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