@InterfaceAudience.Private public class MetricsMasterWrapperImpl extends Object implements MetricsMasterWrapper
Constructor and Description |
---|
MetricsMasterWrapperImpl(HMaster master) |
Modifier and Type | Method and Description |
---|---|
long |
getActiveTime() |
double |
getAverageLoad() |
String |
getClusterId() |
String[] |
getCoprocessors() |
String |
getDeadRegionServers() |
boolean |
getIsActiveMaster() |
long |
getMasterInitializationTime() |
long |
getMergePlanCount() |
Map<String,Map.Entry<Long,Long>> |
getNamespaceSpaceUtilization() |
int |
getNumDeadRegionServers() |
int |
getNumRegionServers() |
long |
getNumWALFiles() |
String |
getRegionServers() |
String |
getServerName() |
long |
getSplitPlanCount() |
long |
getStartTime() |
Map<String,Map.Entry<Long,Long>> |
getTableSpaceUtilization() |
String |
getZookeeperQuorum() |
public MetricsMasterWrapperImpl(HMaster master)
public double getAverageLoad()
getAverageLoad
in interface MetricsMasterWrapper
public long getSplitPlanCount()
getSplitPlanCount
in interface MetricsMasterWrapper
public long getMergePlanCount()
getMergePlanCount
in interface MetricsMasterWrapper
public long getMasterInitializationTime()
getMasterInitializationTime
in interface MetricsMasterWrapper
public String getClusterId()
getClusterId
in interface MetricsMasterWrapper
public String getZookeeperQuorum()
getZookeeperQuorum
in interface MetricsMasterWrapper
public String[] getCoprocessors()
getCoprocessors
in interface MetricsMasterWrapper
public long getStartTime()
getStartTime
in interface MetricsMasterWrapper
public long getActiveTime()
getActiveTime
in interface MetricsMasterWrapper
public String getRegionServers()
getRegionServers
in interface MetricsMasterWrapper
public int getNumRegionServers()
getNumRegionServers
in interface MetricsMasterWrapper
public String getDeadRegionServers()
getDeadRegionServers
in interface MetricsMasterWrapper
public int getNumDeadRegionServers()
getNumDeadRegionServers
in interface MetricsMasterWrapper
public String getServerName()
getServerName
in interface MetricsMasterWrapper
public boolean getIsActiveMaster()
getIsActiveMaster
in interface MetricsMasterWrapper
public long getNumWALFiles()
getNumWALFiles
in interface MetricsMasterWrapper
public Map<String,Map.Entry<Long,Long>> getTableSpaceUtilization()
getTableSpaceUtilization
in interface MetricsMasterWrapper
public Map<String,Map.Entry<Long,Long>> getNamespaceSpaceUtilization()
getNamespaceSpaceUtilization
in interface MetricsMasterWrapper
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.