Documentation

GetAllReplicasOptions
in package

Table of Contents

$readPreference  : string
$timeoutMilliseconds  : int|null
$transcoder  : Transcoder
__construct()  : mixed
build()  : GetAllReplicasOptions
Static helper to keep code more readable
getTranscoder()  : Transcoder
Returns associated transcoder.
readPreference()  : GetAllReplicasOptions
Choose how the replica nodes will be selected. By default, it has no preference and will select any available replica, but it is possible to prioritize or restrict to only nodes in local server group
timeout()  : GetAllReplicasOptions
Sets the operation timeout in milliseconds.
transcoder()  : GetAllReplicasOptions
Associate custom transcoder with the request.

Properties

Methods

readPreference()

Choose how the replica nodes will be selected. By default, it has no preference and will select any available replica, but it is possible to prioritize or restrict to only nodes in local server group

public readPreference(string $readPreference) : GetAllReplicasOptions
Parameters
$readPreference : string
Tags
see
ReadPreference
since
4.2.6
Return values
GetAllReplicasOptions

        

Search results