FlushBucketOptions
in package
Table of Contents
- $parentSpan : RequestSpan|null
- $timeoutMilliseconds : int|null
- build() : FlushBucketOptions
- Static helper to keep code more readable
- parentSpan() : FlushBucketOptions
- Sets the parent span.
- timeout() : FlushBucketOptions
- Sets the operation timeout in milliseconds.
Properties
$parentSpan
private
RequestSpan|null
$parentSpan
= null
$timeoutMilliseconds
private
int|null
$timeoutMilliseconds
= null
Methods
build()
Static helper to keep code more readable
public
static build() : FlushBucketOptions
Tags
Return values
FlushBucketOptions —parentSpan()
Sets the parent span.
public
parentSpan(RequestSpan $parentSpan) : FlushBucketOptions
Parameters
- $parentSpan : RequestSpan
-
the parent span
Tags
Return values
FlushBucketOptions —timeout()
Sets the operation timeout in milliseconds.
public
timeout(int $milliseconds) : FlushBucketOptions
Parameters
- $milliseconds : int
-
the operation timeout to apply