mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
22 lines
334 B
C++
22 lines
334 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
|