Documentation

GetAndTouchOptions
in package

Table of Contents

$parentSpan  : RequestSpan|null
$retryStrategy  : string|null
$timeoutMilliseconds  : int|null
$transcoder  : Transcoder
__construct()  : mixed
build()  : GetAndTouchOptions
Static helper to keep code more readable
getTranscoder()  : Transcoder
Returns associated transcoder.
parentSpan()  : GetAndTouchOptions
Sets the parent span.
retryStrategy()  : GetAndTouchOptions
Selects how the operation retries, for example on a locked document. An unknown value makes the operation throw InvalidArgumentException.
timeout()  : GetAndTouchOptions
Sets the operation timeout in milliseconds.
transcoder()  : GetAndTouchOptions
Associate custom transcoder with the request.

Properties

Methods

__construct()

public __construct() : mixed
Tags
since
4.0.0
Return values
mixed —

retryStrategy()

Selects how the operation retries, for example on a locked document. An unknown value makes the operation throw InvalidArgumentException.

public retryStrategy(string $strategy) : GetAndTouchOptions
Parameters
$strategy : string

one of the constants

Tags
see
RetryStrategy
since
4.6.0
Return values
GetAndTouchOptions —

        

Search results