bbeaudreault commented on code in PR #4967:
URL: https://github.com/apache/hbase/pull/4967#discussion_r1089687483


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileScanner.java:
##########
@@ -140,4 +141,11 @@ public interface HFileScanner extends Shipper, Closeable {
    */
   @Override
   void close();
+
+  /**
+   * Record the size of the current block in bytes, passing as an argument to 
the blockSizeConsumer.
+   * Implementations should ensure that blockSizeConsumer is only called once 
per block.
+   * @param blockSizeConsumer to be called with block size in bytes, once per 
block.
+   */
+  void recordBlockSize(Consumer<Integer> blockSizeConsumer);

Review Comment:
   Will fix 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to