InlineExecutorService (Apache Tomcat 9.0.111 API Documentation)
Description: declaration: package: org.apache.tomcat.util.threads, class: InlineExecutorService

# Class InlineExecutorService

java.lang.Object
java.util.concurrent.AbstractExecutorService
org.apache.tomcat.util.threads.InlineExecutorService

All Implemented Interfaces:
  `AutoCloseable, Executor, ExecutorService`

public class InlineExecutorService extends AbstractExecutorService

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InlineExecutorService()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `awaitTermination(long timeout, TimeUnit unit)`
  `void`
  `execute(Runnable command)`
  `boolean`
  `isShutdown()`
  `boolean`
  `isTerminated()`
  `void`
  `shutdown()`
  `List<Runnable>`
  `shutdownNow()`

  ### Methods inherited from class AbstractExecutorService

  `invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface ExecutorService

  `close`

- ## Constructor Details

  - ### InlineExecutorService

    public InlineExecutorService()

- ## Method Details

  - ### shutdown

    public void shutdown()

  - ### shutdownNow

    public List<Runnable> shutdownNow()

  - ### isShutdown

    public boolean isShutdown()

  - ### isTerminated

    public boolean isTerminated()

  - ### awaitTermination

    public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
    Throws:
      `InterruptedException`

  - ### execute

    public void execute(Runnable command)