TransactionsConfiguration
in package
Table of Contents
- $cleanupOptions : TransactionsCleanupConfiguration|null
- $durabilityLevel : string|null
- $keyValueTimeoutMilliseconds : int|null
- $metadataCollection : TransactionKeyspace|null
- $queryOptions : TransactionsQueryConfiguration|null
- $timeoutMilliseconds : int|null
- cleanupOptions() : TransactionsConfiguration
- Specifies the configuration for the cleanup system.
- durabilityLevel() : TransactionsConfiguration
- Specifies the level of synchronous durability level.
- keyValueTimeout() : TransactionsConfiguration
- Specifies the default timeout for KV operations, specified in milliseconds.
- metadataCollection() : TransactionsConfiguration
- Specifies the collection to use for any metadata (ATR and client-record) access.
- queryOptions() : TransactionsConfiguration
- Specifies the configuration for queries.
- timeout() : TransactionsConfiguration
- Specifies the default timeout for transactions.
Properties
$cleanupOptions
private
TransactionsCleanupConfiguration|null
$cleanupOptions
= null
$durabilityLevel
private
string|null
$durabilityLevel
= null
$keyValueTimeoutMilliseconds
private
int|null
$keyValueTimeoutMilliseconds
= null
$metadataCollection
private
TransactionKeyspace|null
$metadataCollection
= null
$queryOptions
private
TransactionsQueryConfiguration|null
$queryOptions
= null
$timeoutMilliseconds
private
int|null
$timeoutMilliseconds
= null
Methods
cleanupOptions()
Specifies the configuration for the cleanup system.
public
cleanupOptions(TransactionsCleanupConfiguration $options) : TransactionsConfiguration
Parameters
- $options : TransactionsCleanupConfiguration
Tags
Return values
TransactionsConfiguration —durabilityLevel()
Specifies the level of synchronous durability level.
public
durabilityLevel(string|int $level) : TransactionsConfiguration
Parameters
- $level : string|int
-
the durability level to enforce
Tags
Return values
TransactionsConfiguration —keyValueTimeout()
Specifies the default timeout for KV operations, specified in milliseconds.
public
keyValueTimeout(int $milliseconds) : TransactionsConfiguration
Parameters
- $milliseconds : int
Tags
Return values
TransactionsConfiguration —metadataCollection()
Specifies the collection to use for any metadata (ATR and client-record) access.
public
metadataCollection(TransactionKeyspace $collection) : TransactionsConfiguration
Parameters
- $collection : TransactionKeyspace
Tags
Return values
TransactionsConfiguration —queryOptions()
Specifies the configuration for queries.
public
queryOptions(TransactionsQueryConfiguration $options) : TransactionsConfiguration
Parameters
- $options : TransactionsQueryConfiguration
Tags
Return values
TransactionsConfiguration —timeout()
Specifies the default timeout for transactions.
public
timeout(int $milliseconds) : TransactionsConfiguration
Parameters
- $milliseconds : int