|
xrpld
|


Public Types | |
| using | ptr = std::shared_ptr<Collector> |
Public Member Functions | |
| NullCollectorImp ()=default | |
| ~NullCollectorImp () override=default | |
| Hook | makeHook (HookImpl::HandlerType const &) override |
| Counter | makeCounter (std::string const &) override |
| Create a counter with the specified name. | |
| Event | makeEvent (std::string const &) override |
| Create an event with the specified name. | |
| Gauge | makeGauge (std::string const &) override |
| Create a gauge with the specified name. | |
| Meter | makeMeter (std::string const &) override |
| Create a meter with the specified name. | |
| template<class Handler> | |
| Hook | makeHook (Handler handler) |
| Create a hook. | |
| Counter | makeCounter (std::string const &prefix, std::string const &name) |
| Event | makeEvent (std::string const &prefix, std::string const &name) |
| Gauge | makeGauge (std::string const &prefix, std::string const &name) |
| Meter | makeMeter (std::string const &prefix, std::string const &name) |
Static Public Member Functions | |
| static std::shared_ptr< Collector > | make () |
Definition at line 102 of file NullCollector.cpp.
|
inherited |
Definition at line 26 of file Collector.h.
|
default |
|
overridedefault |
|
overridevirtual |
Implements beast::insight::Collector.
Definition at line 111 of file NullCollector.cpp.
|
overridevirtual |
Create a counter with the specified name.
Implements beast::insight::Collector.
Definition at line 117 of file NullCollector.cpp.
|
overridevirtual |
Create an event with the specified name.
Implements beast::insight::Collector.
Definition at line 123 of file NullCollector.cpp.
|
overridevirtual |
Create a gauge with the specified name.
Implements beast::insight::Collector.
Definition at line 129 of file NullCollector.cpp.
|
overridevirtual |
Create a meter with the specified name.
Implements beast::insight::Collector.
Definition at line 135 of file NullCollector.cpp.
|
staticinherited |
Definition at line 146 of file NullCollector.cpp.
|
inherited |
Create a hook.
A hook is called at each collection interval, on an implementation defined thread. This is a convenience facility for gathering metrics in the polling style. The typical usage is to update all the metrics of interest in the handler.
Handler will be called with this signature: void handler (void)
Definition at line 45 of file Collector.h.
|
inherited |
Definition at line 62 of file Collector.h.
|
inherited |
Definition at line 78 of file Collector.h.
|
inherited |
Definition at line 94 of file Collector.h.
|
inherited |
Definition at line 110 of file Collector.h.