aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/common/reloadhandler.h
blob: 275c10b2f9a2401dc1c385e684c059288749c61e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

namespace config {

struct ReloadHandler
{
    /**
     * Reload any configs with a given generation.
     */
    virtual void reload(int64_t generation) = 0;
    virtual ~ReloadHandler() = default;
};

}