mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 23:20:33 +00:00
20 lines
330 B
C++
20 lines
330 B
C++
#pragma once
|
|
|
|
#include <xrpl/beast/insight/Collector.h>
|
|
|
|
#include <memory>
|
|
|
|
namespace beast::insight {
|
|
|
|
/** A Collector which does not collect metrics. */
|
|
class NullCollector : public Collector
|
|
{
|
|
public:
|
|
explicit NullCollector() = default;
|
|
|
|
static std::shared_ptr<Collector>
|
|
make();
|
|
};
|
|
|
|
} // namespace beast::insight
|