shutdownTimeout

public Client.Builder shutdownTimeout(long timeout, TimeUnit timeUnit)

Sets the timeout for the shutdown operation of the client.

If not specified directly, DEFAULT_SHUTDOWN_TIMEOUT will be used.