C# Class Couchbase.Transactions.Config.PerTransactionConfigBuilder

A builder class for generating PerTransactionConfigs to be used for individual transactions.
Mostrar archivo Open project: couchbase/couchbase-transactions-dotnet

Public Methods

Method Description
Build ( ) : Couchbase.Transactions.Config.PerTransactionConfig

Build a PerTransactionConfig from this builder.

Create ( ) : PerTransactionConfigBuilder

Create an instance of the PerTransactionConfigBuilder class.

DurabilityLevel ( DurabilityLevel durabilityLevel ) : PerTransactionConfigBuilder

Set the minimum desired DurabilityLevel(KeyValue.DurabilityLevel).

Private Methods

Method Description
PerTransactionConfigBuilder ( ) : System

Method Details

Build() public method

Build a PerTransactionConfig from this builder.
public Build ( ) : Couchbase.Transactions.Config.PerTransactionConfig
return Couchbase.Transactions.Config.PerTransactionConfig

Create() public static method

Create an instance of the PerTransactionConfigBuilder class.
public static Create ( ) : PerTransactionConfigBuilder
return PerTransactionConfigBuilder

DurabilityLevel() public method

Set the minimum desired DurabilityLevel(KeyValue.DurabilityLevel).
public DurabilityLevel ( DurabilityLevel durabilityLevel ) : PerTransactionConfigBuilder
durabilityLevel DurabilityLevel The desired.
return PerTransactionConfigBuilder