aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/docstore/document_store_visitor_progress.h
blob: 49b9634cc5026070634f1ded6936a0df06265162 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "idocumentstore.h"

namespace search {

class DocumentStoreVisitorProgress : public IDocumentStoreVisitorProgress
{
    double _progress;
public:
    DocumentStoreVisitorProgress();
    void updateProgress(double progress) override;
    virtual double getProgress() const;
};

} // namespace proton