T - the type of result this CompletableFuture and StreamObserver resolvespublic class FutureListStreamObserver<T> extends CompletableFuture<List<T>> implements io.grpc.stub.StreamObserver<T>
CompletableFuture and StreamObserver. This future will complete
successfully on onNext(Object) or on onCompleted() (granted that the given valueWhenNoResult is not of type Throwable). On onError(Throwable), this future will CompletableFuture.completeExceptionally(Throwable).CompletableFuture.AsynchronousCompletionTask| Constructor and Description |
|---|
FutureListStreamObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted() |
void |
onError(Throwable t) |
void |
onNext(T value) |
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, whenCompleteAsyncCopyright © 2020–2023 AxonIQ BV. All rights reserved.