blob: 974250f57ea9c6b50f03f6d26a9a268de1ec6811 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* \class storage::ApplicationGenerationFetcher
* \ingroup storageserver
*
* \brief Interface for fetching application generation number and
* component name.
*/
#pragma once
#include <cstdint>
#include <string>
namespace storage {
class ApplicationGenerationFetcher {
public:
virtual ~ApplicationGenerationFetcher() {}
virtual int64_t getGeneration() const = 0;
virtual std::string getComponentName() const = 0;
};
} // storage
|