org.apache.hadoop.hbase.client
Class ServerStatisticTracker

java.lang.Object
  extended by org.apache.hadoop.hbase.client.ServerStatisticTracker

@InterfaceAudience.Private
public class ServerStatisticTracker
extends Object

Tracks the statistics for multiple regions


Constructor Summary
ServerStatisticTracker()
           
 
Method Summary
static ServerStatisticTracker create(org.apache.hadoop.conf.Configuration conf)
           
 ServerStatistics getStats(ServerName server)
           
 void updateRegionStats(ServerName server, byte[] region, ClientProtos.RegionLoadStats currentStats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerStatisticTracker

public ServerStatisticTracker()
Method Detail

updateRegionStats

public void updateRegionStats(ServerName server,
                              byte[] region,
                              ClientProtos.RegionLoadStats currentStats)

getStats

public ServerStatistics getStats(ServerName server)

create

public static ServerStatisticTracker create(org.apache.hadoop.conf.Configuration conf)


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.