File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver
hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -6,28 +6,28 @@ public interface MetricsTableQPS {
66 String TABLE_WRITE_QPS = "tableWriteQPS" ;
77
88 /**
9- *
10- * @param tableName
11- * @param count
9+ * Update table read QPS
10+ * @param tableName The table the metric is for
11+ * @param count Number of occurrences to record
1212 */
1313 void updateTableReadQPS (String tableName , long count );
1414
1515 /**
16- *
17- * @param tableName
16+ * Update table read QPS
17+ * @param tableName The table the metric is for
1818 */
1919 void updateTableReadQPS (String tableName );
2020
2121 /**
22- *
23- * @param tableName
24- * @param count
22+ * Update table write QPS
23+ * @param tableName The table the metric is for
24+ * @param count Number of occurrences to record
2525 */
2626 void updateTableWriteQPS (String tableName , long count );
2727
2828 /**
29- *
30- * @param tableName
29+ * Update table write QPS
30+ * @param tableName The table the metric is for
3131 */
3232 void updateTableWriteQPS (String tableName );
3333}
Original file line number Diff line number Diff line change 11package org .apache .hadoop .hbase .regionserver ;
22
3+ import java .util .concurrent .ConcurrentHashMap ;
4+
35import com .google .common .annotations .VisibleForTesting ;
46import org .apache .hadoop .hbase .TableName ;
57import org .apache .hadoop .hbase .classification .InterfaceAudience ;
68import org .apache .hadoop .hbase .metrics .Meter ;
79import org .apache .hadoop .hbase .metrics .MetricRegistry ;
810
9- import java .util .concurrent .ConcurrentHashMap ;
10-
1111@ InterfaceAudience .Private
1212public class MetricsTableQPSImpl implements MetricsTableQPS {
1313
You can’t perform that action at this time.
0 commit comments