1MONGOC_WRITE_CONCERN_SET_WTIMEOUT(3)libmongoMcONGOC_WRITE_CONCERN_SET_WTIMEOUT(3)
2
3
4

NAME

6       mongoc_write_concern_set_wtimeout - mongoc_write_concern_set_wtimeout()
7

SYNOPSIS

9          void
10          mongoc_write_concern_set_wtimeout (mongoc_write_concern_t *write_concern,
11                                             int32_t wtimeout_msec);
12

PARAMETERS

14write_concern: A mongoc_write_concern_t.
15
16wtimeout_msec: A positive int32_t or zero.
17

DESCRIPTION

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

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.17.6                           Jun 03, 20M2O1NGOC_WRITE_CONCERN_SET_WTIMEOUT(3)
Impressum