26#ifndef METADATA_CACHE_METADATA_CACHE_GR_INCLUDED
27#define METADATA_CACHE_METADATA_CACHE_GR_INCLUDED
54 const unsigned router_id,
const std::string &clusterset_id,
55 const std::vector<mysql_harness::TCPAddress> &metadata_servers,
56 std::shared_ptr<MetaData> cluster_metadata,
62 bool use_gr_notifications =
false)
64 cluster_metadata, ttl_config, ssl_options, target_cluster,
65 router_attributes, thread_stack_size,
66 use_gr_notifications) {}
68 bool refresh(
bool needs_writable_node)
override;
71 return meta_data_->get_cluster_type();
75 void log_cluster_details()
const;
Definition: cluster_metadata.h:161
static const size_t kDefaultStackSizeInKiloBytes
Definition: mysql_router_thread.h:44
ClusterType
Definition: cluster_metadata.h:141
SSL connection related options.
Definition: datatypes.h:39