static class LedgerHandle.SyncReadCallback extends Object implements AsyncCallback.ReadCallback
Constructor and Description |
---|
SyncReadCallback() |
Modifier and Type | Method and Description |
---|---|
void |
readComplete(int rc,
LedgerHandle lh,
Enumeration<LedgerEntry> seq,
Object ctx)
Implementation of callback interface for synchronous read method.
|
public void readComplete(int rc, LedgerHandle lh, Enumeration<LedgerEntry> seq, Object ctx)
readComplete
in interface AsyncCallback.ReadCallback
rc
- return codelh
- ledger handleseq
- sequence of entriesctx
- control objectCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.