45 Change(
ChangeType type, std::string&& key, std::string&& value)
47 ,
key_(std::move(key))
96 virtual LogLevel getLogLevel()
const = 0;
97 virtual void setLogLevel(LogLevel level) = 0;
98 virtual void log(LogLevel level,
const std::string& message) = 0;
100using LoggerPtr = std::shared_ptr<ILogger>;
std::string NamespaceType
Type alias for namespace identifiers.
Definition apollo_types.h:22
std::vector< Change > Changes
List of configuration changes.
Definition apollo_types.h:62
ChangeType
Enum class representing the type of change in configuration.
Definition apollo_types.h:29
@ Deleted
Definition apollo_types.h:32
@ Added
Definition apollo_types.h:30
@ Updated
Definition apollo_types.h:31
constexpr auto long_poller_interval_default
Definition apollo_types.h:19
std::map< std::string, std::string > Configures
Map of key-value pairs representing a namespace's configuration.
Definition apollo_types.h:65
Definition apollo_types.h:92
Structure representing a change in configuration.
Definition apollo_types.h:40
ChangeType change_type_
Definition apollo_types.h:41
std::string value_
Definition apollo_types.h:43
std::string key_
Definition apollo_types.h:42
Options for configuring the Apollo client.
Definition apollo_types.h:73
std::vector< NamespaceType > namespaces_
Definition apollo_types.h:76
int connection_timeout_ms_
Definition apollo_types.h:77
std::string cluster_name_
Definition apollo_types.h:74
std::string label_
Definition apollo_types.h:75
int request_read_timeout_ms_
Definition apollo_types.h:78
int request_write_timeout_ms_
Definition apollo_types.h:79