@InterfaceAudience.Private public class ServerStatisticTracker extends Object
Modifier and Type | Field and Description |
---|---|
private ConcurrentHashMap<ServerName,ServerStatistics> |
stats |
Constructor and Description |
---|
ServerStatisticTracker() |
Modifier and Type | Method and Description |
---|---|
static ServerStatisticTracker |
create(org.apache.hadoop.conf.Configuration conf) |
(package private) ServerStatistics |
getServerStatsForTesting(ServerName server) |
ServerStatistics |
getStats(ServerName server) |
void |
updateRegionStats(ServerName server,
byte[] region,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats currentStats) |
private final ConcurrentHashMap<ServerName,ServerStatistics> stats
public void updateRegionStats(ServerName server, byte[] region, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats currentStats)
public ServerStatistics getStats(ServerName server)
public static ServerStatisticTracker create(org.apache.hadoop.conf.Configuration conf)
ServerStatistics getServerStatsForTesting(ServerName server)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.