xrpld
Loading...
Searching...
No Matches
beast::insight::detail::StatsDMeterImpl Class Reference
Inheritance diagram for beast::insight::detail::StatsDMeterImpl:
Collaboration diagram for beast::insight::detail::StatsDMeterImpl:

Public Types

using value_type = std::uint64_t

Public Member Functions

 StatsDMeterImpl (std::string name, std::shared_ptr< StatsDCollectorImp > impl)
 ~StatsDMeterImpl () override
void increment (MeterImpl::value_type amount) override
void flush ()
void doIncrement (MeterImpl::value_type amount)
void doProcess () override
StatsDMeterImploperator= (StatsDMeterImpl const &)=delete
T shared_from_this (T... args)
T weak_from_this (T... args)

Private Attributes

std::shared_ptr< StatsDCollectorImpimpl_
std::string name_
MeterImpl::value_type value_ {0}
bool dirty_ {false}
friend T
ListNodenext_ = nullptr
ListNodeprev_ = nullptr

Detailed Description

Definition at line 174 of file StatsDCollector.cpp.

Member Typedef Documentation

◆ value_type

Definition at line 13 of file MeterImpl.h.

Constructor & Destructor Documentation

◆ StatsDMeterImpl()

beast::insight::detail::StatsDMeterImpl::StatsDMeterImpl ( std::string name,
std::shared_ptr< StatsDCollectorImp > impl )
explicit

Definition at line 665 of file StatsDCollector.cpp.

◆ ~StatsDMeterImpl()

beast::insight::detail::StatsDMeterImpl::~StatsDMeterImpl ( )
override

Definition at line 671 of file StatsDCollector.cpp.

Member Function Documentation

◆ increment()

void beast::insight::detail::StatsDMeterImpl::increment ( MeterImpl::value_type amount)
overridevirtual

Implements beast::insight::MeterImpl.

Definition at line 677 of file StatsDCollector.cpp.

◆ flush()

void beast::insight::detail::StatsDMeterImpl::flush ( )

Definition at line 688 of file StatsDCollector.cpp.

◆ doIncrement()

void beast::insight::detail::StatsDMeterImpl::doIncrement ( MeterImpl::value_type amount)

Definition at line 702 of file StatsDCollector.cpp.

◆ doProcess()

void beast::insight::detail::StatsDMeterImpl::doProcess ( )
overridevirtual

Implements beast::insight::detail::StatsDMetricBase.

Definition at line 709 of file StatsDCollector.cpp.

◆ operator=()

StatsDMeterImpl & beast::insight::detail::StatsDMeterImpl::operator= ( StatsDMeterImpl const & )
delete

Member Data Documentation

◆ impl_

std::shared_ptr<StatsDCollectorImp> beast::insight::detail::StatsDMeterImpl::impl_
private

Definition at line 195 of file StatsDCollector.cpp.

◆ name_

std::string beast::insight::detail::StatsDMeterImpl::name_
private

Definition at line 196 of file StatsDCollector.cpp.

◆ value_

MeterImpl::value_type beast::insight::detail::StatsDMeterImpl::value_ {0}
private

Definition at line 197 of file StatsDCollector.cpp.

◆ dirty_

bool beast::insight::detail::StatsDMeterImpl::dirty_ {false}
private

Definition at line 198 of file StatsDCollector.cpp.

◆ T

template<typename T, typename Tag>
friend beast::detail::ListNode< T, Tag >::T
privateinherited

Definition at line 42 of file List.h.

◆ next_

template<typename T, typename Tag>
ListNode* beast::detail::ListNode< T, Tag >::next_ = nullptr
privateinherited

Definition at line 48 of file List.h.

◆ prev_

template<typename T, typename Tag>
ListNode* beast::detail::ListNode< T, Tag >::prev_ = nullptr
privateinherited

Definition at line 49 of file List.h.