26#ifndef METADATA_CACHE_METADATA_INTERFACE_INCLUDED
27#define METADATA_CACHE_METADATA_INTERFACE_INCLUDED
40#include <rapidjson/document.h>
57 std::map<std::string, std::pair<std::string, JsonDocument>>;
62 const std::atomic<bool> &terminated,
65 bool needs_writable_node,
const std::string &clusterset_id,
66 bool whole_topology, std::size_t &instance_id) = 0;
70 const unsigned router_id,
75 const unsigned router_id) = 0;
84 const std::function<
void()> &callback) = 0;
95 virtual std::optional<std::chrono::seconds>
Defines an IP address with port number
Definition: tcp_address.h:40
Definition: cluster_metadata.h:161
Definition: expected.h:944
Define rapidjson::SizeType to be std::size_t.
ClusterType
Definition: cluster_metadata.h:141