blob: d2569f2e252021f9e0db6f2e269728f8bfb74c21 (
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 Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/net/http/state_explorer.h>
namespace searchcorespi::index { struct IThreadingService; }
namespace proton {
class ExecutorThreadingService;
/**
* Class used to explore the state of the ExecutorThreadingService used in a document database.
*/
class ExecutorThreadingServiceExplorer : public vespalib::StateExplorer {
private:
searchcorespi::index::IThreadingService& _service;
public:
ExecutorThreadingServiceExplorer(searchcorespi::index::IThreadingService& service);
~ExecutorThreadingServiceExplorer();
void get_state(const vespalib::slime::Inserter& inserter, bool full) const override;
};
}
|