static class SyncCallbackUtils.FutureReadLastConfirmed extends java.util.concurrent.CompletableFuture<java.lang.Long> implements AsyncCallback.ReadLastConfirmedCallback
| Constructor and Description |
|---|
FutureReadLastConfirmed() |
| Modifier and Type | Method and Description |
|---|---|
void |
readLastConfirmedComplete(int rc,
long lastConfirmed,
java.lang.Object ctx)
Callback definition for bookie recover operations.
|
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsyncpublic void readLastConfirmedComplete(int rc,
long lastConfirmed,
java.lang.Object ctx)
AsyncCallback.ReadLastConfirmedCallbackreadLastConfirmedComplete in interface AsyncCallback.ReadLastConfirmedCallbackrc - Return codelastConfirmed - The entry id of the last confirmed write or
INVALID_ENTRY_ID
if no entry has been confirmedctx - context objectCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.