public class ZeebeStreamingClientFutureImpl<ClientResponse,BrokerResponse> extends ZeebeClientFutureImpl<ClientResponse,BrokerResponse>
CompletableFuture.AsynchronousCompletionTask
Constructor and Description |
---|
ZeebeStreamingClientFutureImpl(ClientResponse response,
java.util.function.Consumer<BrokerResponse> collector) |
Modifier and Type | Method and Description |
---|---|
void |
onCompleted() |
void |
onError(Throwable throwable) |
void |
onNext(BrokerResponse brokerResponse) |
join, join
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, 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
public ZeebeStreamingClientFutureImpl(ClientResponse response, java.util.function.Consumer<BrokerResponse> collector)
public void onNext(BrokerResponse brokerResponse)
onNext
in interface io.grpc.stub.StreamObserver<BrokerResponse>
onNext
in class ZeebeClientFutureImpl<ClientResponse,BrokerResponse>
public void onError(Throwable throwable)
onError
in interface io.grpc.stub.StreamObserver<BrokerResponse>
onError
in class ZeebeClientFutureImpl<ClientResponse,BrokerResponse>
public void onCompleted()
onCompleted
in interface io.grpc.stub.StreamObserver<BrokerResponse>
onCompleted
in class ZeebeClientFutureImpl<ClientResponse,BrokerResponse>
Copyright © 2017–2018 camunda services GmbH. All rights reserved.