aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java
blob: 5405867e38fe1fbe8cc548f75673583434e85e5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.handler.threadpool;

import java.util.concurrent.Executor;

/**
 * A configurable thread pool. This provides the worker threads used for normal request processing.
 *
 * @author bjorncs
 */
public interface ContainerThreadPool extends AutoCloseable {

    Executor executor();

    default void close() {}

}