static class LedgerHandle.SyncAddCallback extends Object implements AsyncCallback.AddCallback
Constructor and Description |
---|
SyncAddCallback() |
Modifier and Type | Method and Description |
---|---|
void |
addComplete(int rc,
LedgerHandle lh,
long entry,
Object ctx)
Implementation of callback interface for synchronous read method.
|
public void addComplete(int rc, LedgerHandle lh, long entry, Object ctx)
addComplete
in interface AsyncCallback.AddCallback
rc
- return codelh
- ledger handleentry
- entry identifierctx
- control objectCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.