1MONGOC_READ_PREFS_SET_MAX_STALENMEoMSnOSgN_oGSDOEBCC_OCRNEDDASrD(i_3vP)eRrEFS_SET_MAX_STALENESS_SECONDS(3)
2
3
4

NAME

6       mongoc_read_prefs_set_max_staleness_seconds            -           mon‐
7       goc_read_prefs_set_max_staleness_seconds()
8

SYNOPSIS

10          void
11          mongoc_read_prefs_set_max_staleness_seconds (mongoc_read_prefs_t *read_prefs,
12                                                       int64_t max_staleness_seconds);
13

PARAMETERS

15       · read_prefs: A mongoc_read_prefs_t.
16
17       · max_staleness_seconds: A positive integer or MONGOC_NO_MAX_STALENESS.
18

DESCRIPTION

20       Sets the maxStalenessSeconds  to  be  used  for  the  read  preference.
21       Clients  estimate the staleness of each secondary, and select for reads
22       only those secondaries whose estimated staleness is less than or  equal
23       to maxStalenessSeconds.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.15.2                          MNOoNvGO0C6_,RE2A0D1_9PREFS_SET_MAX_STALENESS_SECONDS(3)
Impressum