blob: 6191543dcb39d950b1247bb543b95afa5d62b42b (
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
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/stllike/string.h>
#include <vector>
namespace searchcorespi {
namespace index {
/**
* Class used to log various events related to disk index handling.
**/
struct EventLogger {
static void diskIndexLoadStart(const vespalib::string &indexDir);
static void diskIndexLoadComplete(const vespalib::string &indexDir,
int64_t elapsedTimeMs);
static void diskFusionStart(const std::vector<vespalib::string> &sources,
const vespalib::string &fusionDir);
static void diskFusionComplete(const vespalib::string &fusionDir,
int64_t elapsedTimeMs);
};
} // namespace index
} // namespace searchcorespi
|