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

#pragma once

namespace proton {

/**
 * Interface for running maintenance jobs (cf. IMaintenanceJob).
 */
class IMaintenanceJobRunner
{
public:
    /*
     * Schedule job to be run in the future.
     */
    virtual void run() = 0;
    virtual ~IMaintenanceJobRunner() = default;
};

} // namespace proton