Package io.camunda.zeebe.client.api
Interface ZeebeFuture<T>
- All Superinterfaces:
CompletionStage<T>
,Future<T>
- All Known Implementing Classes:
HttpZeebeFuture
,RetriableClientFutureImpl
,RetriableStreamingFutureImpl
,ZeebeClientFutureImpl
,ZeebeStreamingClientFutureImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Method Summary
Modifier and TypeMethodDescriptionjoin()
LikeFuture.get()
but throws runtime exceptions.LikeFuture.get(long, TimeUnit)
but throws runtime exceptions.Methods 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
Methods inherited from interface java.util.concurrent.Future
cancel, exceptionNow, get, get, isCancelled, isDone, resultNow, state
-
Method Details
-
join
T join()LikeFuture.get()
but throws runtime exceptions.- Throws:
ClientStatusException
- on gRPC errorsClientException
- on unexpected errors
-
join
LikeFuture.get(long, TimeUnit)
but throws runtime exceptions.- Throws:
ClientStatusException
- on gRPC errorsClientException
- on unexpected errors
-