blob: c43ff827e26b150cb25c250eed2cb14ae74d3601 (
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
27
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/stllike/hash_map.h>
#include "tls_stats.h"
namespace proton::flushengine {
/**
* Class representing statistics for a transaction log server over multiple
* domains.
*/
class TlsStatsMap
{
public:
using Map = vespalib::hash_map<vespalib::string, TlsStats>;
private:
Map _map;
public:
TlsStatsMap(Map &&map);
~TlsStatsMap();
const TlsStats &getTlsStats(const vespalib::string &domain) const;
};
}
|