|
MongoDB\Driver\ReadPreference::getMaxStalenessSecondsReturns the ReadPreference's "maxStalenessSeconds" option Beschreibung
final public integer MongoDB\Driver\ReadPreference::getMaxStalenessSeconds
( void
)
Parameter-ListeDiese Funktion hat keine Parameter. Rückgabewerte
Returns the ReadPreference's "maxStalenessSeconds" option. If no max
staleness has been specified,
Fehler/Exceptions
BeispieleBeispiel #1 MongoDB\Driver\ReadPreference::getMaxStalenessSeconds example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: int(-1) int(-1) int(90) int(1000) Siehe auch |