aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/attribute/i_attribute_manager_reconfig.h
blob: 13080163071638861f81033cff0385e69068be45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/searchlib/common/serialnum.h>
#include <memory>

namespace proton {

struct IAttributeManager;

/**
 * Interface class representing the result of the prepare step of an IAttributeManager
 * reconfig.
 */
class IAttributeManagerReconfig {
public:
    virtual ~IAttributeManagerReconfig() = default;
    virtual std::shared_ptr<IAttributeManager> create(uint32_t docid_limit, search::SerialNum serial_num) = 0;
};

}