Package org.apache.tomcat.util.threads
package org.apache.tomcat.util.threads
-
ClassDescriptionStatic constants for this package.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.Class which wraps a ScheduledExecutorService, while preventing lifecycle and configuration operations.A custom
RuntimeExceptionthrown by theThreadPoolExecutorto signal that the thread should be disposed of.As task queue specifically designed to run with a thread pool executor.A Thread implementation that records the time at which it was created.Simple task thread factory to use to create threads for an executor implementation.Same as a java.util.concurrent.ThreadPoolExecutor but implements a much more efficientThreadPoolExecutor.getSubmittedCount()method, to be used to properly handle the work queue.