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