aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/docstore/document_store_visitor_progress.cpp
blob: 8afa8872c8520d29c10a9631f6287498fec9cf0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "document_store_visitor_progress.h"

namespace search {

DocumentStoreVisitorProgress::DocumentStoreVisitorProgress()
    : search::IDocumentStoreVisitorProgress(),
      _progress(0.0)
{
}

void
DocumentStoreVisitorProgress::updateProgress(double progress)
{
    _progress = progress;
}

double
DocumentStoreVisitorProgress::getProgress() const
{
    return _progress;
}

}