Scroll to navigation

MONGOC_WRITE_CONCERN_GET_WTIMEOUT(3) Library Functions Manual MONGOC_WRITE_CONCERN_GET_WTIMEOUT(3)

NAME

mongoc_write_concern_get_wtimeout() - Get the timeout in milliseconds that the server should wait before returning with a write concern timeout.

SYNOPSIS


int32_t mongoc_write_concern_get_wtimeout (const mongoc_write_concern_t *write_concern);

PARAMETERS

write_concern
A mongoc_write_concern_t

DESCRIPTION

Get the timeout in milliseconds that the server should wait before returning with a write concern timeout.

A value of 0 indicates no write timeout.

RETURNS

Returns an 32‐bit signed integer containing the timeout.

COLOPHON

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
2016‐10‐12 MongoDB C Driver