Class 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 Detail

      • ContainerThreadPool

        public ContainerThreadPool​(ThreadpoolConfig config,
                                   com.yahoo.jdisc.Metric metric)
    • Method Detail

      • executor

        public java.util.concurrent.Executor executor()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable