26#ifndef ROUTING_CLASSIC_KILL_FORWADER_INCLUDED
27#define ROUTING_CLASSIC_KILL_FORWADER_INCLUDED
33 using ForwardingProcessor::ForwardingProcessor;
47 static std::string_view
prefix() {
return "mysql/kill"; }
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_kill_forwarder.h:31
TraceEvent * trace_event_connect_and_forward_command_
Definition: classic_kill_forwarder.h:67
stdx::expected< Result, std::error_code > connect()
Definition: classic_kill_forwarder.cc:83
stdx::expected< Result, std::error_code > forward_done()
Definition: classic_kill_forwarder.cc:131
TraceEvent * trace_event_forward_command_
Definition: classic_kill_forwarder.h:68
stdx::expected< Result, std::error_code > command()
Definition: classic_kill_forwarder.cc:59
Stage stage_
Definition: classic_kill_forwarder.h:64
stdx::expected< Result, std::error_code > response()
Definition: classic_kill_forwarder.cc:140
void stage(Stage stage)
Definition: classic_kill_forwarder.h:51
stdx::expected< Result, std::error_code > forward()
Definition: classic_kill_forwarder.cc:125
static std::string_view prefix()
Definition: classic_kill_forwarder.h:47
Stage stage() const
Definition: classic_kill_forwarder.h:52
TraceEvent * trace_event_command_
Definition: classic_kill_forwarder.h:66
stdx::expected< Result, std::error_code > ok()
Definition: classic_kill_forwarder.cc:170
stdx::expected< Result, std::error_code > process() override
Definition: classic_kill_forwarder.cc:34
stdx::expected< Result, std::error_code > connected()
Definition: classic_kill_forwarder.cc:92
Stage
Definition: classic_kill_forwarder.h:35
stdx::expected< Result, std::error_code > error()
Definition: classic_kill_forwarder.cc:217
Definition: expected.h:286
Definition: trace_span.h:35