blob: ce2b005b956a15f4f71feaf01b9446c89a9c7fba (
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 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "index_searchable_stats.h"
#include <vespa/vespalib/stllike/string.h>
namespace searchcorespi {
namespace index {
struct IDiskIndex;
/**
* Information about a disk index usable by state explorer.
*/
class DiskIndexStats : public IndexSearchableStats {
vespalib::string _indexDir;
public:
DiskIndexStats();
DiskIndexStats(const IDiskIndex &index);
~DiskIndexStats();
const vespalib::string &getIndexdir() const { return _indexDir; }
};
} // namespace searchcorespi::index
} // namespace searchcorespi
|