aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/metrics/i_job_tracker.h
blob: eec8cfbc44ae590f16d63a504331f15f08cf90b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. 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