public interface LifeCycle2 extends LifeCycle
This interface should be merged with the super-interface in 3.0.
|Modifier and Type||Method and Description|
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.
timeout- the maximum time to wait
timeUnit- the time unit of the timeout argument
Copyright © 1999-2018 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.