Package org.apache.bookkeeper.client
Class SyncCallbackUtils.FutureReadLastConfirmed
- java.lang.Object
- 
- java.util.concurrent.CompletableFuture<java.lang.Long>
- 
- org.apache.bookkeeper.client.SyncCallbackUtils.FutureReadLastConfirmed
 
 
- 
- All Implemented Interfaces:
- java.util.concurrent.CompletionStage<java.lang.Long>,- java.util.concurrent.Future<java.lang.Long>,- AsyncCallback.ReadLastConfirmedCallback
 - Enclosing class:
- SyncCallbackUtils
 
 static class SyncCallbackUtils.FutureReadLastConfirmed extends java.util.concurrent.CompletableFuture<java.lang.Long> implements AsyncCallback.ReadLastConfirmedCallback 
- 
- 
Constructor SummaryConstructors Constructor Description FutureReadLastConfirmed()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadLastConfirmedComplete(int rc, long lastConfirmed, java.lang.Object ctx)Callback definition for bookie recover operations.- 
Methods inherited from class java.util.concurrent.CompletableFutureacceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, 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, whenCompleteAsync
 
- 
 
- 
- 
- 
Method Detail- 
readLastConfirmedCompletepublic void readLastConfirmedComplete(int rc, long lastConfirmed, java.lang.Object ctx)Description copied from interface:AsyncCallback.ReadLastConfirmedCallbackCallback definition for bookie recover operations.- Specified by:
- readLastConfirmedCompletein interface- AsyncCallback.ReadLastConfirmedCallback
- Parameters:
- rc- Return code
- lastConfirmed- The entry id of the last confirmed write or- INVALID_ENTRY_IDif no entry has been confirmed
- ctx- context object
 
 
- 
 
-