aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/metrics/i_job_tracker.h
blob: 5e59ca36d364c6f1e99074371d4a251d2054fbbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 tracking the start and end of jobs.
 */
struct IJobTracker
{
    virtual ~IJobTracker() = default;

    virtual void start() = 0;
    virtual void end() = 0;
};

} // namespace proton