|
MongoDB\Driver\ReadPreference::getMaxStalenessSecondsReturns the ReadPreference's "maxStalenessSeconds" option Description
final public integer MongoDB\Driver\ReadPreference::getMaxStalenessSeconds
( void
)
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
<?php The above example will output: int(-1) int(-1) int(90) int(1000) See Also |