Package io.camunda.zeebe.client.impl
Class ZeebeStreamingClientFutureImpl<ClientResponse,BrokerResponse>
java.lang.Object
java.util.concurrent.CompletableFuture<ClientResponse>
io.camunda.zeebe.client.impl.ZeebeClientFutureImpl<ClientResponse,BrokerResponse>
io.camunda.zeebe.client.impl.ZeebeStreamingClientFutureImpl<ClientResponse,BrokerResponse>
- All Implemented Interfaces:
ZeebeFuture<ClientResponse>,io.grpc.stub.StreamObserver<BrokerResponse>,CompletionStage<ClientResponse>,Future<ClientResponse>
- Direct Known Subclasses:
RetriableStreamingFutureImpl
public class ZeebeStreamingClientFutureImpl<ClientResponse,BrokerResponse>
extends ZeebeClientFutureImpl<ClientResponse,BrokerResponse>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
Constructor Summary
ConstructorsConstructorDescriptionZeebeStreamingClientFutureImpl(ClientResponse response, Consumer<BrokerResponse> collector) -
Method Summary
Methods inherited from class io.camunda.zeebe.client.impl.ZeebeClientFutureImpl
join, joinMethods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, 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, whenCompleteAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.CompletionStage
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Constructor Details
-
ZeebeStreamingClientFutureImpl
-
-
Method Details
-
onNext
- Specified by:
onNextin interfaceio.grpc.stub.StreamObserver<ClientResponse>- Overrides:
onNextin classZeebeClientFutureImpl<ClientResponse,BrokerResponse>
-
onError
- Specified by:
onErrorin interfaceio.grpc.stub.StreamObserver<ClientResponse>- Overrides:
onErrorin classZeebeClientFutureImpl<ClientResponse,BrokerResponse>
-
onCompleted
public void onCompleted()- Specified by:
onCompletedin interfaceio.grpc.stub.StreamObserver<ClientResponse>- Overrides:
onCompletedin classZeebeClientFutureImpl<ClientResponse,BrokerResponse>
-