This method blocks until all channels in the group have been closed and all resources associated with the group have been released. @param timeout the maximum time to wait @param unit the time unit of the timeout argument @return {@code true} if the group has terminated; {@code false} ifthe timeout elapsed before termination @throws InterruptedException if interrupted while waiting
timeout
@return true if the pool was terminated in the supplied time (or was already terminated), or false if the timeout occurredbefore all the connections were closed
@throws InterruptedException if the thread was interrupted
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|