GetAllReplicasOptions
in package
Table of Contents
- decoder() : GetAllReplicasOptions
- Associate custom transcoder with the request.
- timeout() : GetAllReplicasOptions
- Sets the operation timeout in milliseconds.
Methods
decoder()
Associate custom transcoder with the request.
public
decoder(callable $arg) : GetAllReplicasOptions
Parameters
- $arg : callable
-
decoding function with signature (returns decoded value):
function decoder(string $bytes, int $flags, int $datatype): mixed
Return values
GetAllReplicasOptions —timeout()
Sets the operation timeout in milliseconds.
public
timeout(int $arg) : GetAllReplicasOptions
Parameters
- $arg : int
-
the operation timeout to apply