@InterfaceAudience.Private public class MetricsMasterWrapperImpl extends Object implements MetricsMasterWrapper
Constructor and Description |
---|
MetricsMasterWrapperImpl(HMaster master) |
Modifier and Type | Method and Description |
---|---|
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
|
String |
getDeadRegionServers()
Get the dead region servers
|
boolean |
getIsActiveMaster()
Whether this master is the active master
|
int |
getNumDeadRegionServers()
Get the number of dead region servers
|
int |
getNumRegionServers()
Get the number of live region servers
|
String |
getRegionServers()
Get the live region servers
|
String |
getServerName()
Get ServerName
|
long |
getStartTime()
Get hbase master start time
|
String |
getZookeeperQuorum()
Get the Zookeeper Quorum Info
|
private final HMaster master
public MetricsMasterWrapperImpl(HMaster master)
public double getAverageLoad()
MetricsMasterWrapper
getAverageLoad
in interface MetricsMasterWrapper
public String getClusterId()
MetricsMasterWrapper
getClusterId
in interface MetricsMasterWrapper
public String getZookeeperQuorum()
MetricsMasterWrapper
getZookeeperQuorum
in interface MetricsMasterWrapper
public String[] getCoprocessors()
MetricsMasterWrapper
getCoprocessors
in interface MetricsMasterWrapper
public long getStartTime()
MetricsMasterWrapper
getStartTime
in interface MetricsMasterWrapper
public long getActiveTime()
MetricsMasterWrapper
getActiveTime
in interface MetricsMasterWrapper
public String getRegionServers()
MetricsMasterWrapper
getRegionServers
in interface MetricsMasterWrapper
public int getNumRegionServers()
MetricsMasterWrapper
getNumRegionServers
in interface MetricsMasterWrapper
public String getDeadRegionServers()
MetricsMasterWrapper
getDeadRegionServers
in interface MetricsMasterWrapper
public int getNumDeadRegionServers()
MetricsMasterWrapper
getNumDeadRegionServers
in interface MetricsMasterWrapper
public String getServerName()
MetricsMasterWrapper
getServerName
in interface MetricsMasterWrapper
public boolean getIsActiveMaster()
MetricsMasterWrapper
getIsActiveMaster
in interface MetricsMasterWrapper
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.