@InterfaceAudience.Public @InterfaceStability.Stable public static interface AsyncCallback.ReadLastConfirmedAndEntryCallback
Modifier and Type | Method and Description |
---|---|
void |
readLastConfirmedAndEntryComplete(int rc,
long lastConfirmed,
LedgerEntry entry,
Object ctx)
Callback definition for bookie operation that allows reading the last add confirmed
along with an entry within the last add confirmed range
|
void readLastConfirmedAndEntryComplete(int rc, long lastConfirmed, LedgerEntry entry, Object ctx)
rc
- Return codelastConfirmed
- The entry id of the last confirmed write or
INVALID_ENTRY_ID
if no entry has been confirmedentry
- The entry since the lastAddConfirmed entry that was specified when the request
was initiatedctx
- context objectCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.