Package org.apache.bookkeeper.client
Interface AsyncCallback.ReadCallback
-
- All Known Implementing Classes:
SyncCallbackUtils.SyncReadCallback
- Enclosing interface:
- AsyncCallback
@Public @Stable public static interface AsyncCallback.ReadCallback
Async Callback for reading entries from ledgers.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreadComplete(int rc, LedgerHandle lh, java.util.Enumeration<LedgerEntry> seq, java.lang.Object ctx)Callback declaration.
-
-
-
Method Detail
-
readComplete
void readComplete(int rc, LedgerHandle lh, java.util.Enumeration<LedgerEntry> seq, java.lang.Object ctx)Callback declaration.- Parameters:
rc- return codelh- ledger handleseq- sequence of entriesctx- context object
-
-