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