public interface LifeCycle2 extends LifeCycle
LifeCycle.State| Modifier and Type | Method and Description |
|---|---|
boolean |
stop(long timeout,
TimeUnit timeUnit)
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current
thread is interrupted, whichever happens first.
|
boolean stop(long timeout,
TimeUnit timeUnit)
timeout - the maximum time to waittimeUnit - the time unit of the timeout argumentCopyright © 1999-2017. 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.