aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/util/threadexecutor.h
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/vespa/vespalib/util/threadexecutor.h')
-rw-r--r--vespalib/src/vespa/vespalib/util/threadexecutor.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/vespalib/src/vespa/vespalib/util/threadexecutor.h b/vespalib/src/vespa/vespalib/util/threadexecutor.h
index 9ab7aacfc4b..36c72fa4bb0 100644
--- a/vespalib/src/vespa/vespalib/util/threadexecutor.h
+++ b/vespalib/src/vespa/vespalib/util/threadexecutor.h
@@ -12,11 +12,6 @@ class ThreadExecutor : public Executor
{
public:
/**
- * Internal stats that we want to observe externally. Note that
- * all stats are reset each time they are observed.
- **/
- using Stats = ExecutorStats;
- /**
* Get number of threads in the executor pool.
* @return number of threads in the pool
*/
@@ -26,7 +21,7 @@ public:
* Observe and reset stats for this object.
* @return stats
**/
- virtual Stats getStats() = 0;
+ virtual ExecutorStats getStats() = 0;
/**
* Sets a new upper limit for accepted number of tasks.