sadanand48 commented on a change in pull request #2883:
URL: https://github.com/apache/ozone/pull/2883#discussion_r766751688



##########
File path: 
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/StreamBuffer.java
##########
@@ -43,4 +43,20 @@ public int length() {
     return buffer.limit() - buffer.position();
   }
 
+  public ByteBuffer getBuffer() {

Review comment:
       Removed this.

##########
File path: 
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/StreamBuffer.java
##########
@@ -43,4 +43,20 @@ public int length() {
     return buffer.limit() - buffer.position();
   }
 
+  public ByteBuffer getBuffer() {
+    return buffer;
+  }
+
+  public void put(StreamBuffer sb){
+    buffer.put(sb.getBuffer());
+  }
+
+  public static StreamBuffer allocate(int size){

Review comment:
       Done




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to