chenxu14 commented on a change in pull request #479: HBASE-22802 Avoid temp ByteBuffer allocation in FileIOEngine#read URL: https://github.com/apache/hbase/pull/479#discussion_r315502192
########## File path: hbase-common/src/main/java/org/apache/hadoop/hbase/nio/ByteBuff.java ########## @@ -78,6 +79,14 @@ public boolean release() { return refCnt.release(); } + public RefCnt getRefCnt() { + return this.refCnt; + } + + public void setRefCnt(RefCnt refCnt) { Review comment: have not find a better way yet, any suggestions? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services