eolivelli commented on a change in pull request #755: Issue 750: support 
ByteBuf, ByteBuffer, byte[] in both WriteHandle, WriteAdvHandle, ReadHandle
URL: https://github.com/apache/bookkeeper/pull/755#discussion_r152489049
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/api/WriteAdvHandle.java
 ##########
 @@ -45,12 +45,36 @@
      *
      * @param entryId entryId to be added
      * @param data array of bytes to be written
-     * @return an handle to the result, in case of success it will return the 
same value of param entryId
+     * @return an handle to the result, in case of success it will return the 
same value of param entryId.
      */
     default CompletableFuture<Long> write(final long entryId, final ByteBuffer 
data) {
         return write(entryId, Unpooled.wrappedBuffer(data));
     }
 
+    /**
+     * Add entry asynchronously to an open ledger.
+     *
+     * @param entryId entryId to be added.
+     * @param data array of bytes to be written
 
 Review comment:
   @sijie no problem, just asking your opinion. already gave my +1 on this patch

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to