blob: 98abefe3860bae00fb28011be17bfa3276c13a93 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchcore/proton/common/statusreport.h>
#include <vespa/vespalib/net/http/health_producer.h>
namespace proton {
class HealthAdapter : public vespalib::HealthProducer
{
private:
const StatusProducer &_statusProducer;
public:
HealthAdapter(const StatusProducer &sp);
Health getHealth() const override;
};
} // namespace proton
|