aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h
index 7c7ee3fab56..972c496508a 100644
--- a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h
+++ b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h
@@ -5,7 +5,7 @@
#include "storeonlydocsubdb.h"
#include <vespa/searchcore/proton/attribute/attributemanager.h>
#include <vespa/searchcore/proton/common/docid_limit.h>
-#include <vespa/searchcore/proton/metrics/attribute_metrics_collection.h>
+#include <vespa/searchcore/proton/metrics/attribute_metrics.h>
#include <vespa/searchcore/proton/metrics/metricswireservice.h>
namespace proton {
@@ -45,16 +45,13 @@ public:
struct Context
{
const StoreOnlyDocSubDB::Context _storeOnlyCtx;
- const AttributeMetricsCollection &_subAttributeMetrics;
- LegacyAttributeMetrics *_totalAttributeMetrics;
+ const AttributeMetrics &_subAttributeMetrics;
MetricsWireService &_metricsWireService;
Context(const StoreOnlyDocSubDB::Context &storeOnlyCtx,
- const AttributeMetricsCollection &subAttributeMetrics,
- LegacyAttributeMetrics *totalAttributeMetrics,
+ const AttributeMetrics &subAttributeMetrics,
MetricsWireService &metricsWireService)
: _storeOnlyCtx(storeOnlyCtx),
_subAttributeMetrics(subAttributeMetrics),
- _totalAttributeMetrics(totalAttributeMetrics),
_metricsWireService(metricsWireService)
{ }
};
@@ -67,8 +64,7 @@ private:
const bool _fastAccessAttributesOnly;
AttributeManager::SP _initAttrMgr;
Configurer::FeedViewVarHolder _fastAccessFeedView;
- AttributeMetricsCollection _subAttributeMetrics;
- LegacyAttributeMetrics *_totalAttributeMetrics;
+ AttributeMetrics _subAttributeMetrics;
std::shared_ptr<initializer::InitializerTask>
createAttributeManagerInitializer(const DocumentDBConfig &configSnapshot,