Class ContainerThreadPool
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.container.handler.threadpool.ContainerThreadPool
-
- All Implemented Interfaces:
com.yahoo.component.Component
,java.lang.AutoCloseable
,java.lang.Comparable<com.yahoo.component.Component>
public class ContainerThreadPool extends com.yahoo.component.AbstractComponent 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()
void
deconstruct()
java.util.concurrent.Executor
executor()
-
-
-
Constructor Detail
-
ContainerThreadPool
@Inject public ContainerThreadPool(ThreadpoolConfig config, com.yahoo.jdisc.Metric metric)
-
ContainerThreadPool
public ContainerThreadPool(ThreadpoolConfig threadpoolConfig, com.yahoo.jdisc.Metric metric, ProcessTerminator processTerminator)
-
-