Package io.camunda.zeebe.client.impl
Class RetriableClientFutureImpl<R,T>
java.lang.Object
java.util.concurrent.CompletableFuture<R>
io.camunda.zeebe.client.impl.ZeebeClientFutureImpl<R,T>
io.camunda.zeebe.client.impl.RetriableClientFutureImpl<R,T>
- All Implemented Interfaces:
ZeebeFuture<R>,io.grpc.stub.ClientResponseObserver<com.google.protobuf.GeneratedMessageV3,,T> io.grpc.stub.StreamObserver<T>,CompletionStage<R>,Future<R>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTaskNested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Field Summary
Fields inherited from class io.camunda.zeebe.client.impl.ZeebeClientFutureImpl
clientCall -
Constructor Summary
ConstructorsConstructorDescriptionRetriableClientFutureImpl(Function<T, R> responseMapper, Predicate<CredentialsProvider.StatusCode> retryPredicate, Consumer<io.grpc.stub.StreamObserver<T>> retryAction) RetriableClientFutureImpl(Predicate<CredentialsProvider.StatusCode> retryPredicate, Consumer<io.grpc.stub.StreamObserver<T>> retryAction) -
Method Summary
Methods inherited from class io.camunda.zeebe.client.impl.ZeebeClientFutureImpl
beforeStart, cancel, join, join, onCompleted, onNextMethods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, exceptionNow, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, resultNow, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, state, 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, whenCompleteAsyncMethods inherited from interface java.util.concurrent.Future
exceptionNow, get, get, isCancelled, isDone, resultNow, state
-
Constructor Details
-
RetriableClientFutureImpl
public RetriableClientFutureImpl(Predicate<CredentialsProvider.StatusCode> retryPredicate, Consumer<io.grpc.stub.StreamObserver<T>> retryAction) -
RetriableClientFutureImpl
-
-
Method Details
-
onError
- Specified by:
onErrorin interfaceio.grpc.stub.StreamObserver<R>- Overrides:
onErrorin classZeebeClientFutureImpl<R,T>
-