aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2020-09-21 16:11:30 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2020-09-21 16:11:30 +0200
commit21b36d7313ff9f02c93f85964ba682e8bc5dd148 (patch)
treebf1c8e008d56588483567297d28269c2179d709a /config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java
parent8df7e4f1fbbba3fcc065948f829b50dcc0f09217 (diff)
Make ContainerThreadPool an interface
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java b/config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java
index c4d252ccbfe..869248edfbf 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/container/ContainerThreadpool.java
@@ -4,6 +4,7 @@ package com.yahoo.vespa.model.container;
import com.yahoo.container.bundle.BundleInstantiationSpecification;
import com.yahoo.container.handler.threadpool.ContainerThreadPool;
import com.yahoo.container.handler.threadpool.ContainerThreadpoolConfig;
+import com.yahoo.container.handler.threadpool.DefaultContainerThreadpool;
import com.yahoo.osgi.provider.model.ComponentModel;
import com.yahoo.text.XML;
import com.yahoo.vespa.model.container.component.SimpleComponent;
@@ -29,7 +30,7 @@ public class ContainerThreadpool extends SimpleComponent implements ContainerThr
super(new ComponentModel(
BundleInstantiationSpecification.getFromStrings(
"threadpool@" + name,
- ContainerThreadPool.class.getName(),
+ DefaultContainerThreadpool.class.getName(),
null)));
this.name = name;
this.userOptions = userOptions;