aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/engine/monitorreply.h
blob: f66a30fdd897c3bbdf73d1dfa0cd12982c744439 (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
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <memory>

namespace search::engine {

struct MonitorReply
{
    typedef std::unique_ptr<MonitorReply> UP;

    bool                      mld;
    bool                      activeDocsRequested;
    uint32_t                  partid;
    int32_t                   distribution_key;
    uint32_t                  timestamp;
    uint32_t                  totalNodes;  // mld
    uint32_t                  activeNodes; // mld
    uint32_t                  totalParts;  // mld
    uint32_t                  activeParts; // mld
    uint64_t                  activeDocs;
    uint32_t                  flags;
    bool                      is_blocking_writes;

    MonitorReply();
};

}