# Package org.apache.tomcat.util.threads

- Interface Summary
  Interface | Description
  --- | ---
  ResizableExecutor |

- Class Summary
  Class | Description
  --- | ---
  Constants | Static constants for this package.
  LimitLatch | Shared latch that allows the latch to be acquired a limited number of times after which all subsequent requests to acquire the latch will be placed in a FIFO queue until one of the shares is returned.
  TaskQueue | As task queue specifically designed to run with a thread pool executor.
  TaskThread | A Thread implementation that records the time at which it was created.
  TaskThreadFactory | Simple task thread factory to use to create threads for an executor implementation.
  ThreadPoolExecutor | Same as a java.util.concurrent.ThreadPoolExecutor but implements a much more efficient `ThreadPoolExecutor.getSubmittedCount()` method, to be used to properly handle the work queue.

- Exception Summary
  Exception | Description
  --- | ---
  StopPooledThreadException | A custom `RuntimeException` thrown by the `ThreadPoolExecutor` to signal that the thread should be disposed of.

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.