1MONGOC_APM_SET_SERVER_CLOSED_CB(3) libmongocMONGOC_APM_SET_SERVER_CLOSED_CB(3)
2
3
4

SYNOPSIS

6          typedef void (*mongoc_apm_server_closed_cb_t) (
7             const mongoc_apm_server_closed_t *event);
8
9          void
10          mongoc_apm_set_server_closed_cb (mongoc_apm_callbacks_t *callbacks,
11                                           mongoc_apm_server_closed_cb_t cb);
12
13       Receive  an  event  notification whenever the driver stops monitoring a
14       server and removes its mongoc_server_description_t.
15

PARAMETERS

17callbacks: A mongoc_apm_callbacks_t.
18
19cb: A function to call with a mongoc_apm_server_closed_t whenever the
20         driver    stops    monitoring    a    server    and    removes    its
21         mongoc_server_description_t.
22
23       SEE ALSO:
24          Introduction to Application Performance Monitoring
25
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.25.1                           Nov 08, 2023MONGOC_APM_SET_SERVER_CLOSED_CB(3)
Impressum