aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/i_proton_configurer.h
blob: 4b8819848b81f866f411ff0a56d2ed198530295e (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 Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <memory>

namespace proton {

class ProtonConfigSnapshot;

/*
 * Interface class to handle config changes to proton using config
 * snapshots spanning all document types.
 */
class IProtonConfigurer
{
public:
    virtual ~IProtonConfigurer() { }
    virtual void reconfigure(std::shared_ptr<ProtonConfigSnapshot> configSnapshot) = 0;
};

} // namespace proton