mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> Co-authored-by: Bart <bthomee@users.noreply.github.com>
21 lines
335 B
C++
21 lines
335 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <memory>
|
|
|
|
namespace beast::insight {
|
|
|
|
class Counter;
|
|
|
|
class CounterImpl : public std::enable_shared_from_this<CounterImpl>
|
|
{
|
|
public:
|
|
using value_type = std::int64_t;
|
|
|
|
virtual ~CounterImpl() = 0;
|
|
virtual void
|
|
increment(value_type amount) = 0;
|
|
};
|
|
|
|
} // namespace beast::insight
|