aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-03-05 13:26:45 +0000
committerTor Egge <Tor.Egge@oath.com>2018-03-05 13:30:17 +0000
commitba621e3b245e0ca2dcd80aeb1d51f617feceac51 (patch)
treeaf349633417b96b160689f896a20d8712ef91fd3 /searchcore
parent4da2c2c885062659e0c86f76061065f9ac4dc216 (diff)
Add class comment.
Reduce indirections in using statement.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/executor_threading_service_stats.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/executor_threading_service_stats.h b/searchcore/src/vespa/searchcore/proton/server/executor_threading_service_stats.h
index a49aa3021f8..7fbff6e5eb0 100644
--- a/searchcore/src/vespa/searchcore/proton/server/executor_threading_service_stats.h
+++ b/searchcore/src/vespa/searchcore/proton/server/executor_threading_service_stats.h
@@ -1,13 +1,18 @@
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include <vespa/vespalib/util/threadstackexecutorbase.h>
+#include <cstddef>
+#include <vespa/vespalib/util/executor_stats.h>
namespace proton {
+/*
+ * This class contains executor stats for the executors used by a
+ * document db.
+ */
class ExecutorThreadingServiceStats {
public:
- using Stats = vespalib::ThreadStackExecutorBase::Stats;
+ using Stats = vespalib::ExecutorStats;
private:
Stats _masterExecutorStats;