1MONGOC_WRITE_CONCERN_SET_WTIMEOUT_INlTiM6bO4mN(oG3nO)gCo_cWRITE_CONCERN_SET_WTIMEOUT_INT64(3)
2
3
4

NAME

6       mongoc_write_concern_set_wtimeout_int64       -       mongoc_write_con‐
7       cern_set_wtimeout_int64()
8

SYNOPSIS

10          void
11          mongoc_write_concern_set_wtimeout_int64 (mongoc_write_concern_t *write_concern,
12                                                   int64_t wtimeout_msec);
13

PARAMETERS

15       · write_concern: A mongoc_write_concern_t.
16
17       · wtimeout_msec: A positive int64_t or zero.
18

DESCRIPTION

20       Set the timeout in milliseconds that  the  server  should  wait  before
21       returning  with  a  write  concern  timeout.  This is not the same as a
22       socket timeout. A value of zero may be used to indicate no  write  con‐
23       cern timeout.
24
25       Beginning  in version 1.9.0, this function can now alter the write con‐
26       cern after it has been used in  an  operation.  Previously,  using  the
27       struct  with  an  operation  would mark it as "frozen" and calling this
28       function would log a warning instead instead of altering the write con‐
29       cern.
30
31       See also: mongoc_write_concern_get_wtimeout_int64.
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.16.2                           FebM2O5N,GO2C0_2W0RITE_CONCERN_SET_WTIMEOUT_INT64(3)
Impressum