Package org.apache.bookkeeper.proto
Class BookkeeperInternalCallbacks.FutureGetListOfEntriesOfLedger
- java.lang.Object
-
- java.util.concurrent.CompletableFuture<AvailabilityOfEntriesOfLedger>
-
- org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.FutureGetListOfEntriesOfLedger
-
- All Implemented Interfaces:
java.util.concurrent.CompletionStage<AvailabilityOfEntriesOfLedger>
,java.util.concurrent.Future<AvailabilityOfEntriesOfLedger>
,BookkeeperInternalCallbacks.GetListOfEntriesOfLedgerCallback
- Enclosing class:
- BookkeeperInternalCallbacks
public static class BookkeeperInternalCallbacks.FutureGetListOfEntriesOfLedger extends java.util.concurrent.CompletableFuture<AvailabilityOfEntriesOfLedger> implements BookkeeperInternalCallbacks.GetListOfEntriesOfLedgerCallback
Future for GetListOfEntriesOfLedger.
-
-
Constructor Summary
Constructors Constructor Description FutureGetListOfEntriesOfLedger(long ledgerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getListOfEntriesOfLedgerComplete(int rc, long ledgerIdOfTheResponse, AvailabilityOfEntriesOfLedger availabilityOfEntriesOfLedger)
-
Methods inherited from class java.util.concurrent.CompletableFuture
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, whenCompleteAsync
-
-
-
-
Method Detail
-
getListOfEntriesOfLedgerComplete
public void getListOfEntriesOfLedgerComplete(int rc, long ledgerIdOfTheResponse, AvailabilityOfEntriesOfLedger availabilityOfEntriesOfLedger)
- Specified by:
getListOfEntriesOfLedgerComplete
in interfaceBookkeeperInternalCallbacks.GetListOfEntriesOfLedgerCallback
-
-