@InterfaceAudience.Private public class ServerStatisticTracker extends Object implements StatisticTrackable
Constructor and Description |
---|
ServerStatisticTracker() |
Modifier and Type | Method and Description |
---|---|
static ServerStatisticTracker |
create(org.apache.hadoop.conf.Configuration conf) |
ServerStatistics |
getStats(ServerName server) |
void |
updateRegionStats(ServerName server,
byte[] region,
RegionLoadStats currentStats)
Update stats per region.
|
public void updateRegionStats(ServerName server, byte[] region, RegionLoadStats currentStats)
StatisticTrackable
updateRegionStats
in interface StatisticTrackable
public ServerStatistics getStats(ServerName server)
public static ServerStatisticTracker create(org.apache.hadoop.conf.Configuration conf)
Copyright © 2007–2019 Cloudera. All rights reserved.