Class PerTransactionConfigBuilder
A builder class for generating PerTransactionConfigs to be used for individual transactions.
Inherited Members
Namespace: Couchbase.Transactions.Config
Assembly: Couchbase.Transactions.dll
Syntax
public class PerTransactionConfigBuilder
Methods
| Improve this Doc View SourceBuild()
Build a PerTransactionConfig from this builder.
Declaration
public PerTransactionConfig Build()
Returns
Type | Description |
---|---|
PerTransactionConfig | A completed config. |
Create()
Create an instance of the PerTransactionConfigBuilder class.
Declaration
public static PerTransactionConfigBuilder Create()
Returns
Type | Description |
---|---|
PerTransactionConfigBuilder |
DurabilityLevel(DurabilityLevel)
Set the minimum desired DurabilityLevel(DurabilityLevel).
Declaration
public PerTransactionConfigBuilder DurabilityLevel(DurabilityLevel durabilityLevel)
Parameters
Type | Name | Description |
---|---|---|
Couchbase.KeyValue.DurabilityLevel | durabilityLevel | The DurabilityLevel(DurabilityLevel) desired. |
Returns
Type | Description |
---|---|
PerTransactionConfigBuilder | The continued instance of this builder. |