org.apache.hadoop.hbase.client
Class ServerStatisticTracker

java.lang.Object
  extended by org.apache.hadoop.hbase.client.ServerStatisticTracker
All Implemented Interfaces:
StatisticTrackable

@InterfaceAudience.Private
public class ServerStatisticTracker
extends Object
implements StatisticTrackable

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, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats currentStats)
          Update stats per region.
 
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,
                              org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats currentStats)
Description copied from interface: StatisticTrackable
Update stats per region.

Specified by:
updateRegionStats in interface StatisticTrackable

getStats

public ServerStatistics getStats(ServerName server)

create

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


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.