Interface CloseableExecutorService
-
- All Superinterfaces:
AutoCloseable
,Channel
,Closeable
,Closeable
,Executor
,ExecutorService
- All Known Implementing Classes:
NoCloseExecutor
,SshThreadPoolExecutor
public interface CloseableExecutorService extends ExecutorService, Closeable
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
awaitTermination(Duration timeout)
-
Methods inherited from interface org.apache.sshd.common.Closeable
addCloseFutureListener, close, close, isClosed, isClosing, isOpen, removeCloseFutureListener
-
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
-
-
-
Method Detail
-
awaitTermination
default boolean awaitTermination(Duration timeout) throws InterruptedException
- Throws:
InterruptedException
-
-