Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
dao-jun committed Aug 21, 2024
1 parent e5f3f83 commit 3b386ab
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
package org.apache.bookkeeper.client.api;

import java.util.concurrent.CompletableFuture;

import org.apache.bookkeeper.client.AsyncCallback;
import org.apache.bookkeeper.common.annotation.InterfaceAudience.Public;
import org.apache.bookkeeper.common.annotation.InterfaceStability.Unstable;
Expand Down Expand Up @@ -138,7 +137,8 @@ default LedgerEntries readUnconfirmed(long firstEntry, long lastEntry)
/**
* Read a sequence of entries asynchronously, allowing to read after the LastAddConfirmed range.
* <br>This is the same of
* {@link org.apache.bookkeeper.client.LedgerHandle#asyncReadEntries(long, long, AsyncCallback.ReadCallback, Object) }
* {@link org.apache.bookkeeper.client.LedgerHandle#asyncReadEntries(
* long, long, AsyncCallback.ReadCallback, Object) }
* but it lets the client read without checking the local value of LastAddConfirmed, so that it is possible to
* read entries for which the writer has not received the acknowledge yet. <br>
* For entries which are within the range 0..LastAddConfirmed BookKeeper guarantees that the writer has successfully
Expand All @@ -157,7 +157,8 @@ default LedgerEntries readUnconfirmed(long firstEntry, long lastEntry)
* the total entries size.
*
* @see org.apache.bookkeeper.client.LedgerHandle#asyncReadEntries(long, long, AsyncCallback.ReadCallback, Object)
* @see org.apache.bookkeeper.client.LedgerHandle#asyncReadLastConfirmed(AsyncCallback.ReadLastConfirmedCallback, Object)
* @see org.apache.bookkeeper.client.LedgerHandle#asyncReadLastConfirmed(
* AsyncCallback.ReadLastConfirmedCallback, Object)
* @see org.apache.bookkeeper.client.LedgerHandle#readUnconfirmedEntries(long, long)
*/
CompletableFuture<LedgerEntries> batchReadUnconfirmedAsync(long firstEntry, int maxCount, int maxSize);
Expand Down

0 comments on commit 3b386ab

Please sign in to comment.