26#ifndef METADATA_CACHE_PLUGIN_CONFIG_INCLUDED
27#define METADATA_CACHE_PLUGIN_CONFIG_INCLUDED
39#include "mysql/harness/plugin.h"
61 std::string
get_default(
const std::string &option)
const override;
62 bool is_required(
const std::string &option)
const override;
64 mutable std::unique_ptr<ClusterMetadataDynamicState>
71 std::chrono::milliseconds
ttl;
103 std::string get_cluster_type_specific_id()
const;
109 uint64_t get_view_id()
const;
121 std::vector<mysql_harness::TCPAddress> get_metadata_servers(
127 std::unique_ptr<ClusterMetadataDynamicState> get_dynamic_state(
Retrieve and manage plugin configuration.
Definition: plugin_config.h:62
virtual bool is_required(const std::string &option) const =0
Returns whether the given option is required.
virtual std::string get_default(const std::string &option) const =0
Gets the default for the given option.
Configuration section.
Definition: config_parser.h:141
ClusterType
Definition: cluster_metadata.h:141