ivankelly commented on a change in pull request #738: Issue 731: refine
LedgerEntry interface and implementation
URL: https://github.com/apache/bookkeeper/pull/738#discussion_r151651150
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/api/LedgerEntry.java
##########
@@ -32,7 +32,7 @@
*/
@Public
@Unstable
-public interface LedgerEntry {
+public interface LedgerEntry extends AutoCloseable {
Review comment:
Should probably be a different commit, but there is an inconsistency in the
data types used in read and write.
WriteHandle is takes ByteBuf and ByteBuffer
ReadHandle/LedgerEntry returns ByteBuf and byte[]
This should be resolved.
----------------------------------------------------------------
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