Interface CloseableExecutorService

  • All Superinterfaces:
    java.lang.AutoCloseable, java.nio.channels.Channel, java.io.Closeable, Closeable, java.util.concurrent.Executor, java.util.concurrent.ExecutorService
    All Known Implementing Classes:
    NoCloseExecutor, SshThreadPoolExecutor

    public interface CloseableExecutorService
    extends java.util.concurrent.ExecutorService, Closeable
    • Method Detail

      • awaitTermination

        default boolean awaitTermination​(java.time.Duration timeout)
                                  throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException