26#ifndef ROUTING_CLASSIC_STATISTICS_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_STATISTICS_FORWARDER_INCLUDED
33 using ForwardingProcessor::ForwardingProcessor;
45 static std::string_view
prefix() {
return "mysql/statistics"; }
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_statistics_forwarder.h:31
stdx::expected< Result, std::error_code > connect()
Definition: classic_statistics_forwarder.cc:83
stdx::expected< Result, std::error_code > command()
Definition: classic_statistics_forwarder.cc:57
Stage stage_
Definition: classic_statistics_forwarder.h:60
TraceEvent * trace_event_forward_command_
Definition: classic_statistics_forwarder.h:64
stdx::expected< Result, std::error_code > response()
Definition: classic_statistics_forwarder.cc:142
static std::string_view prefix()
Definition: classic_statistics_forwarder.h:45
TraceEvent * trace_event_command_
Definition: classic_statistics_forwarder.h:62
stdx::expected< Result, std::error_code > forward_done()
Definition: classic_statistics_forwarder.cc:132
Stage
Definition: classic_statistics_forwarder.h:35
void stage(Stage stage)
Definition: classic_statistics_forwarder.h:49
stdx::expected< Result, std::error_code > forward()
Definition: classic_statistics_forwarder.cc:126
stdx::expected< Result, std::error_code > connected()
Definition: classic_statistics_forwarder.cc:93
Stage stage() const
Definition: classic_statistics_forwarder.h:50
TraceEvent * trace_event_connect_and_forward_command_
Definition: classic_statistics_forwarder.h:63
stdx::expected< Result, std::error_code > process() override
Definition: classic_statistics_forwarder.cc:35
Definition: expected.h:286
Definition: trace_span.h:35