|
MongoDB\Driver\ReadPreference::getMaxStalenessSecondsReturns the ReadPreference's "maxStalenessSeconds" option Description
final public int MongoDB\Driver\ReadPreference::getMaxStalenessSeconds()
ParametersThis function has no parameters. Return Values
Returns the ReadPreference's "maxStalenessSeconds" option. If no max
staleness has been specified,
Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\ReadPreference::getMaxStalenessSeconds example
The above example will output: int(-1) int(-1) int(90) int(1000) See Also |