aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/docstore/document_store_visitor_progress.cpp
blob: 0a83eb613e143c4c70a913c2659e3014560e40de (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 Yahoo. 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;
}

}