public final class ExecutorServiceShutdown extends Object
Modifier and Type | Method and Description |
---|---|
static ExecutorServiceShutdown |
shutdown(ExecutorService executor) |
Boolean |
waitingForCompletion(Duration duration) |
Boolean |
waitingForShutdown(Timeout timeout) |
public static ExecutorServiceShutdown shutdown(ExecutorService executor)
public Boolean waitingForShutdown(Timeout timeout) throws TimeoutException, InterruptedException
TimeoutException
InterruptedException
Copyright © 2009–2019 tempus-fugit committers. All rights reserved.