org.apache.hadoop.hbase.client.backoff
Class ServerStatistics
java.lang.Object
org.apache.hadoop.hbase.client.backoff.ServerStatistics
@InterfaceAudience.Private
public class ServerStatistics
- extends Object
Track the statistics for a single region
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerStatistics
public ServerStatistics()
update
public void update(byte[] region,
ClientProtos.RegionLoadStats currentStats)
- Good enough attempt. Last writer wins. It doesn't really matter which one gets to update,
as something gets set
- Parameters:
region
- currentStats
-
getStatsForRegion
@InterfaceAudience.Private
public ServerStatistics.RegionStatistics getStatsForRegion(byte[] regionName)
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.