Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • close() already is a variant with no parameters and applies a default from config. This variant will be deprecated in favor of the new close(Duration) variantHowever, this variant will not be deprecated because it called by the Closeable interface.
  • close(long, TimeUnit) also exists as a variant. This one will be deprecated in favor of the new close(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.

...