Initiates a shutdown in which preexisting and new calls are cancelled.
Initiates a shutdown in which preexisting and new calls are cancelled.
This method is only valid for clients that use an internal channel. If the client was created
with a shared user-provided channel, the channel itself should be closed.
A Future that completes successfully when shutdown via close()
or exceptionally if a connection can not be established or reestablished
after maxConnectionAttempts.
A Future that completes successfully when shutdown via close()
or exceptionally if a connection can not be established or reestablished
after maxConnectionAttempts.