Package io.zeebe.client.impl
Class RetriableClientFutureImpl<R,T>
- java.lang.Object
-
- java.util.concurrent.CompletableFuture<ClientResponse>
-
- io.zeebe.client.impl.ZeebeClientFutureImpl<R,T>
-
- io.zeebe.client.impl.RetriableClientFutureImpl<R,T>
-
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<T>
,ZeebeFuture<R>
,CompletionStage<R>
,Future<R>
public final class RetriableClientFutureImpl<R,T> extends ZeebeClientFutureImpl<R,T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask
-
-
Constructor Summary
Constructors Constructor Description RetriableClientFutureImpl(Function<T,R> responseMapper, Predicate<Throwable> retryPredicate, Consumer<io.grpc.stub.StreamObserver<T>> retryAction)
RetriableClientFutureImpl(Predicate<Throwable> retryPredicate, Consumer<io.grpc.stub.StreamObserver<T>> retryAction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onError(Throwable throwable)
-
Methods inherited from class io.zeebe.client.impl.ZeebeClientFutureImpl
join, join, onCompleted, onNext
-
Methods 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, 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, whenCompleteAsync
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.concurrent.CompletionStage
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, 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
-
-