public interface CloseableExecutorService extends ExecutorService, Closeable
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
default boolean |
awaitTermination(Duration timeout) |
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitaddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenerdefault boolean awaitTermination(Duration timeout) throws InterruptedException
InterruptedExceptionCopyright © 2018–2020 The Apache Software Foundation. All rights reserved.