public interface GuiceAsyncService
| Modifier and Type | Method and Description |
|---|---|
boolean |
shutdown(long timeout,
TimeUnit timeUnit)
Performs an orderly shutdown of the internally used thread pools, using a best
effort approach for stopping all active tasks.
|
boolean shutdown(long timeout,
TimeUnit timeUnit)
timeout - The time that the threads are given to terminate.timeUnit - The unit of above timeout value.true if all threads terminated within the provided timeout,
false if not or if the current thread has been interrupted
while waiting for the timeout.Copyright © 2014–2018. All rights reserved.