aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2020-09-01 11:55:35 +0200
committerGitHub <noreply@github.com>2020-09-01 11:55:35 +0200
commit5080f35aede41762d4ffcd8d0a6d484b943bfec3 (patch)
treeaec30338d4663ece0a60fa87e6dbf849a5c03e95 /container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java
parentd6eab6379111a169813f7df28e3e72c2d27696f3 (diff)
Revert "Add missing implementation of 'Executor' interface"
Diffstat (limited to 'container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java')
-rw-r--r--container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java b/container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java
index 0686b41fb99..74bcb3a2e04 100644
--- a/container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java
+++ b/container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadPool.java
@@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit;
* @author bratseth
* @author bjorncs
*/
-public class ContainerThreadPool extends AbstractComponent implements AutoCloseable, Executor {
+public class ContainerThreadPool extends AbstractComponent implements AutoCloseable {
private final ExecutorServiceWrapper threadpool;
@@ -50,7 +50,6 @@ public class ContainerThreadPool extends AbstractComponent implements AutoClosea
}
public Executor executor() { return threadpool; }
- @Override public void execute(Runnable runnable) { threadpool.execute(runnable); }
@Override public void close() { closeInternal(); }
@Override public void deconstruct() { closeInternal(); super.deconstruct(); }