static class LedgerHandle.SyncReadLastConfirmedCallback extends Object implements AsyncCallback.ReadLastConfirmedCallback
Constructor and Description |
---|
SyncReadLastConfirmedCallback() |
Modifier and Type | Method and Description |
---|---|
void |
readLastConfirmedComplete(int rc,
long lastConfirmed,
Object ctx)
Implementation of callback interface for synchronous read last confirmed method.
|
public void readLastConfirmedComplete(int rc, long lastConfirmed, Object ctx)
readLastConfirmedComplete
in interface AsyncCallback.ReadLastConfirmedCallback
rc
- Return codelastConfirmed
- The entry id of the last confirmed write or
INVALID_ENTRY_ID
if no entry has been confirmedctx
- context objectCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.