◆ MetadataServersStateListener()
◆ ~MetadataServersStateListener()
MetadataServersStateListener::~MetadataServersStateListener |
( |
| ) |
|
|
inlineoverride |
◆ notify_instances_changed()
void MetadataServersStateListener::notify_instances_changed |
( |
const metadata_cache::ClusterTopology & |
cluster_topology, |
|
|
const bool |
md_servers_reachable, |
|
|
const uint64_t |
view_id |
|
) |
| |
|
inlineoverridevirtual |
Callback function that is called when state of cluster is changed.
- Parameters
-
cluster_topology | current cluster topology |
md_servers_reachable | true if metadata changed, false if metadata unavailable |
view_id | current metadata view_id in case of ReplicaSet cluster |
Implements metadata_cache::ClusterStateListenerInterface.
◆ dynamic_state_
The documentation for this class was generated from the following file: