1MONGOC_APM_SET_TOPOLOGY_CHANGED_CB(3l)ibmongMoOcNGOC_APM_SET_TOPOLOGY_CHANGED_CB(3)
2
3
4
6 typedef void (*mongoc_apm_topology_changed_cb_t) (
7 const mongoc_apm_topology_changed_t *event);
8
9 void
10 mongoc_apm_set_topology_changed_cb (mongoc_apm_callbacks_t *callbacks,
11 mongoc_apm_topology_changed_cb_t cb);
12
13 Receive an event notification whenever the driver observes a change in
14 any of the servers it is connected to or a change in the overall server
15 topology.
16
18 • callbacks: A mongoc_apm_callbacks_t.
19
20 • cb: A function to call with a mongoc_apm_topology_changed_t whenever
21 the driver observes a change in any of the servers it is connected to
22 or a change in the overall server topology.
23
24 SEE ALSO:
25 Introduction to Application Performance Monitoring
26
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.25.1 Nov 08, 2M0O2N3GOC_APM_SET_TOPOLOGY_CHANGED_CB(3)