@InterfaceAudience.Private public final class ResultStatsUtil extends Object
Result with some statistics about the server/region status| Modifier and Type | Method and Description | 
|---|---|
| static void | updateStats(StatisticTrackable tracker,
           ServerName server,
           byte[] regionName,
           org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats stats) | 
| static <T> T | updateStats(T r,
           ServerStatisticTracker stats,
           HRegionLocation regionLocation) | 
| static <T> T | updateStats(T r,
           ServerStatisticTracker serverStats,
           ServerName server,
           byte[] regionName)Update the stats for the specified region if the result is an instance of  ResultStatsUtil | 
public static <T> T updateStats(T r,
                ServerStatisticTracker serverStats,
                ServerName server,
                byte[] regionName)
ResultStatsUtilr - object that contains the result and possibly the statistics about the regionserverStats - stats tracker to update from the resultserver - server from which the result was obtainedregionName - full region name for the stats.Result if the passed result is an ResultStatsUtil or just returns the result;public static void updateStats(StatisticTrackable tracker, ServerName server, byte[] regionName, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats stats)
public static <T> T updateStats(T r,
                ServerStatisticTracker stats,
                HRegionLocation regionLocation)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.