Package org.apache.bookkeeper.client
Class SyncCallbackUtils.SyncReadCallback
java.lang.Object
org.apache.bookkeeper.client.SyncCallbackUtils.SyncReadCallback
- All Implemented Interfaces:
AsyncCallback.ReadCallback
- Enclosing class:
- SyncCallbackUtils
static class SyncCallbackUtils.SyncReadCallback
extends Object
implements AsyncCallback.ReadCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadComplete(int rc, LedgerHandle lh, Enumeration<LedgerEntry> seq, Object ctx) Implementation of callback interface for synchronous read method.
-
Constructor Details
-
SyncReadCallback
-
-
Method Details
-
readComplete
Implementation of callback interface for synchronous read method.- Specified by:
readCompletein interfaceAsyncCallback.ReadCallback- Parameters:
rc- return codelh- ledger handleseq- sequence of entriesctx- control object
-