Interface WorkerPool

    • Method Detail

      • executor

        java.util.concurrent.Executor executor()
        Returns the executor.
        Returns:
        the executor
      • close

        default void close()
                    throws java.lang.Exception
        Description copied from interface: HttpServerComponent
        Closes this HttpServerComponent and releases any system resources associated with it.

        Default do nothing.

        Specified by:
        close in interface HttpServerComponent
        Throws:
        java.lang.Exception - if any error occurs
      • shutdown

        void shutdown()
        Shutdown this worker pool.