@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,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats currentStats)
Update stats per region.
|
public void updateRegionStats(ServerName server, byte[] region, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.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 The Apache Software Foundation. All rights reserved.