@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
|
long |
getMasterInitializationTime()
Get the time in Millis when the master finished initializing/becoming the active master
|
long |
getMergePlanCount()
Get the number of region merge plans executed.
|
Map<String,Map.Entry<Long,Long>> |
getNamespaceSpaceUtilization()
Gets the space usage and limit for each namespace.
|
int |
getNumDeadRegionServers()
Get the number of dead region servers
|
int |
getNumRegionServers()
Get the number of live region servers
|
long |
getNumWALFiles()
Get the number of master WAL files.
|
String |
getRegionServers()
Get the live region servers
|
String |
getServerName()
Get ServerName
|
long |
getSplitPlanCount()
Get the number of region split plans executed.
|
long |
getStartTime()
Get hbase master start time
|
Map<String,Map.Entry<Long,Long>> |
getTableSpaceUtilization()
Gets the space usage and limit for each table.
|
String |
getZookeeperQuorum()
Get the ZooKeeper Quorum Info
|
public MetricsMasterWrapperImpl(HMaster master)
public double getAverageLoad()
MetricsMasterWrapper
getAverageLoad
in interface MetricsMasterWrapper
public long getSplitPlanCount()
MetricsMasterWrapper
getSplitPlanCount
in interface MetricsMasterWrapper
public long getMergePlanCount()
MetricsMasterWrapper
getMergePlanCount
in interface MetricsMasterWrapper
public long getMasterInitializationTime()
MetricsMasterWrapper
getMasterInitializationTime
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
public long getNumWALFiles()
MetricsMasterWrapper
getNumWALFiles
in interface MetricsMasterWrapper
public Map<String,Map.Entry<Long,Long>> getTableSpaceUtilization()
MetricsMasterWrapper
getTableSpaceUtilization
in interface MetricsMasterWrapper
public Map<String,Map.Entry<Long,Long>> getNamespaceSpaceUtilization()
MetricsMasterWrapper
getNamespaceSpaceUtilization
in interface MetricsMasterWrapper
Copyright © 2007–2019 Cloudera. All rights reserved.