...
close()
already is a variant with no parameters and applies a default from config. This variant will NOT be deprecated be deprecated in favor of the newclose(Duration)
variantclose(long, TimeUnit)
also exists as a variant. This one WILL will be deprecated in favor of the newclose(Duration)
variant for consistency- The existing semantics of close is not to throw a
TimeoutException
. Instead, after waiting for the timeout, it forces itself closed.
...