Class ContainerThreadPool
- java.lang.Object
-
- com.yahoo.container.handler.threadpool.ContainerThreadPool
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ContainerThreadPool extends java.lang.Object implements java.lang.AutoCloseable
A configurable thread pool. This provides the worker threads used for normal request processing.- Author:
- Steinar Knutsen, baldersheim, bratseth, bjorncs
-
-
Constructor Summary
Constructors Constructor Description ContainerThreadPool(ThreadpoolConfig config, com.yahoo.jdisc.Metric metric)
ContainerThreadPool(ThreadpoolConfig threadpoolConfig, com.yahoo.jdisc.Metric metric, ProcessTerminator processTerminator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.concurrent.Executor
executor()
-
-
-
Constructor Detail
-
ContainerThreadPool
public ContainerThreadPool(ThreadpoolConfig config, com.yahoo.jdisc.Metric metric)
-
ContainerThreadPool
public ContainerThreadPool(ThreadpoolConfig threadpoolConfig, com.yahoo.jdisc.Metric metric, ProcessTerminator processTerminator)
-
-