blob: a2f26509b66dc49475bbc48351fdc8bd31f883ce (
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
28
29
30
31
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "disk_index_stats.h"
#include "memory_index_stats.h"
#include <vector>
namespace searchcorespi {
class IIndexManager;
/**
* Information about an index manager usable by state explorer.
*/
class IndexManagerStats {
std::vector<index::DiskIndexStats> _diskIndexes;
std::vector<index::MemoryIndexStats> _memoryIndexes;
public:
IndexManagerStats();
IndexManagerStats(const IIndexManager &indexManager);
~IndexManagerStats();
const std::vector<index::DiskIndexStats> &getDiskIndexes() const {
return _diskIndexes;
}
const std::vector<index::MemoryIndexStats> &getMemoryIndexes() const {
return _memoryIndexes;
}
};
} // namespace searchcorespi
|