24#ifndef MYSQL_GCS_TIMESTAMP_PROVIDER_INCLUDED
25#define MYSQL_GCS_TIMESTAMP_PROVIDER_INCLUDED
This is the interface for the timestamp provider for entries that end up in the Debugger log.
Definition: gcs_logging.h:73
Definition: mysql_gcs_timestamp_provider.h:29
Gr_clock_timestamp_provider()=default
Gr_clock_timestamp_provider & operator=(Gr_clock_timestamp_provider &&other)=delete
Gr_clock_timestamp_provider & operator=(const Gr_clock_timestamp_provider &other)=delete
~Gr_clock_timestamp_provider() override=default
void get_timestamp_as_c_string(char *buffer, size_t *size) override
Get the timestamp as c string object.
Definition: mysql_gcs_timestamp_provider.cc:30
enum_gcs_error finalize() override
The purpose of this method is to free any resources used by the objects that implement this interface...
Definition: mysql_gcs_timestamp_provider.h:44
Gr_clock_timestamp_provider(const Gr_clock_timestamp_provider &other)=delete
void get_timestamp_as_string(std::string &str) override
Get the timestamp as std::string.
Definition: mysql_gcs_timestamp_provider.cc:35
enum_gcs_error initialize() override
The purpose of this method is to initialize resources used by the objects that implement this interfa...
Definition: mysql_gcs_timestamp_provider.h:43
Gr_clock_timestamp_provider(Gr_clock_timestamp_provider &&other)=delete
enum_gcs_error
This enumeration describes errors which can occur during group communication operations.
Definition: gcs_types.h:41
@ GCS_OK
Definition: gcs_types.h:43
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1077
size_t size(const char *const c)
Definition: base64.h:46
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418