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

#pragma once

#include <vespa/searchlib/common/serialnum.h>

namespace proton {

/**
 * A simple interface for getting a serial number
 **/
class IGetSerialNum {
public:
    virtual ~IGetSerialNum() { }
    virtual search::SerialNum getSerialNum() const = 0;
};

}