Package io.zeebe.client.api
Interface ZeebeFuture<T>
-
- All Superinterfaces:
CompletionStage<T>
,Future<T>
- All Known Implementing Classes:
RetriableClientFutureImpl
,RetriableStreamingFutureImpl
,ZeebeClientFutureImpl
,ZeebeStreamingClientFutureImpl
public interface ZeebeFuture<T> extends Future<T>, CompletionStage<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
join()
LikeFuture.get()
but throws runtime exceptions.T
join(long timeout, TimeUnit unit)
LikeFuture.get(long, TimeUnit)
but throws runtime exceptions.-
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
-
-
-
-
Method Detail
-
join
T join()
LikeFuture.get()
but throws runtime exceptions.- Throws:
ClientStatusException
- on gRPC errorsClientException
- on unexpected errors
-
join
T join(long timeout, TimeUnit unit)
LikeFuture.get(long, TimeUnit)
but throws runtime exceptions.- Throws:
ClientStatusException
- on gRPC errorsClientException
- on unexpected errors
-
-