1MONGOC_APM_SET_TOPOLOGY_CHANGED_CB(3l)ibmongMoOcNGOC_APM_SET_TOPOLOGY_CHANGED_CB(3)
2
3
4
6 mongoc_apm_set_topology_changed_cb - mongoc_apm_set_topol‐
7 ogy_changed_cb()
8
10 typedef void (*mongoc_apm_topology_changed_cb_t) (
11 const mongoc_apm_topology_changed_t *event);
12
13 void
14 mongoc_apm_set_topology_changed_cb (mongoc_apm_callbacks_t *callbacks,
15 mongoc_apm_topology_changed_cb_t cb);
16
17 Receive an event notification whenever the driver observes a change in
18 any of the servers it is connected to or a change in the overall server
19 topology.
20
22 • callbacks: A mongoc_apm_callbacks_t.
23
24 • cb: A function to call with a mongoc_apm_topology_changed_t whenever
25 the driver observes a change in any of the servers it is connected to
26 or a change in the overall server topology.
27
28 SEE ALSO:
29 Introduction to Application Performance Monitoring
30
31
33 MongoDB, Inc
34
36 2017-present, MongoDB, Inc
37
38
39
40
411.21.1 Mar 02, 2M0O2N2GOC_APM_SET_TOPOLOGY_CHANGED_CB(3)