1MONGOC_READ_PREFS_SET_MAX_STALENEMSOSN_lGSiOEbCCm_OoRNnEDgASoD(c_3P)REFS_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

15read_prefs: A mongoc_read_prefs_t.
16
17max_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.17.6                          MJOuNnGO0C3_,RE2A0D2_1PREFS_SET_MAX_STALENESS_SECONDS(3)
Impressum