TransactionOptions
in package
Table of Contents
- $durabilityLevel : string|null
- $keyValueTimeoutMilliseconds : int|null
- $timeoutMilliseconds : int|null
- durabilityLevel() : TransactionOptions
- Specifies the level of synchronous durability level.
- keyValueTimeout() : TransactionsOptins
- Specifies the default timeout for KV operations, in milliseconds.
- timeout() : TransactionOptions
- Specifies the timeout for the transaction.
Properties
$durabilityLevel
private
string|null
$durabilityLevel
= null
$keyValueTimeoutMilliseconds
private
int|null
$keyValueTimeoutMilliseconds
= null
$timeoutMilliseconds
private
int|null
$timeoutMilliseconds
= null
Methods
durabilityLevel()
Specifies the level of synchronous durability level.
public
durabilityLevel(string|int $level, int|null $timeoutSeconds) : TransactionOptions
Parameters
- $level : string|int
-
the durability level to enforce
- $timeoutSeconds : int|null
Tags
Return values
TransactionOptions —keyValueTimeout()
Specifies the default timeout for KV operations, in milliseconds.
public
keyValueTimeout(int $milliseconds) : TransactionsOptins
Parameters
- $milliseconds : int
Tags
Return values
TransactionsOptins —timeout()
Specifies the timeout for the transaction.
public
timeout(int $milliseconds) : TransactionOptions
Parameters
- $milliseconds : int
-
the operation timeout to apply