BlockingClient - The corresponding BlockingGrpcClientpublic interface GrpcClient<BlockingClient extends BlockingGrpcClient>
extends ListenableAsyncCloseable, GracefulAutoCloseable
| Modifier and Type | Method and Description |
|---|---|
BlockingClient |
asBlockingClient()
Converts this
GrpcClient to a blocking client. |
default void |
close() |
GrpcExecutionContext |
executionContext()
Get the
GrpcExecutionContext used during construction of this object. |
BlockingClient asBlockingClient()
GrpcClient to a blocking client.GrpcClient as a BlockingClient.GrpcExecutionContext executionContext()
GrpcExecutionContext used during construction of this object.
Note that the ExecutionContext.ioExecutor() will not necessarily be associated with a specific thread
unless that was how this object was built.
GrpcExecutionContext used during construction of this object.default void close()
throws Exception
close in interface AutoCloseableException