blob: b66d3ea198f751cc381ff4ae8c58bf5a31c40c36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "distributormessagesender.h"
namespace storage { class DistributorConfiguration; }
namespace storage::distributor {
class DistributorMetricSet;
/**
* Simple interface to access metrics and config for the top-level distributor.
*/
class DistributorInterface : public DistributorMessageSender {
public:
virtual ~DistributorInterface() = default;
virtual DistributorMetricSet& metrics() = 0;
virtual const DistributorConfiguration& config() const = 0;
};
}
|