org.apache.hadoop.hbase.client
Class ServerStatisticTracker
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerStatisticTracker
public ServerStatisticTracker()
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.