Class TransactionReplaceOptionsBuilder
Inheritance
TransactionReplaceOptionsBuilder
Assembly: Couchbase.NetClient.dll
Syntax
public class TransactionReplaceOptionsBuilder
Properties
|
Edit this page
View Source
Default
This creates a new builder with the default values (if any) for this builder.
Declaration
public static TransactionReplaceOptionsBuilder Default { get; }
Property Value
Methods
|
Edit this page
View Source
Build()
Builds a new independent instance of TransactionReplaceOptions, based on the current state
of this builder. Note that if you call Build multiple times, you will have multiple
independent instances of the options.
Declaration
public TransactionReplaceOptions Build()
Returns
|
Edit this page
View Source
Create()
Creates a new instance of TransactionReplaceOptionsBuilder.
Declaration
public static TransactionReplaceOptionsBuilder Create()
Returns
|
Edit this page
View Source
Expiry(TimeSpan)
Declaration
public TransactionReplaceOptionsBuilder Expiry(TimeSpan expiry)
Parameters
Returns
|
Edit this page
View Source
Span(IRequestSpan)
Specifies a parent span for any tracing spans this operation creates.
Declaration
public TransactionReplaceOptionsBuilder Span(IRequestSpan span)
Parameters
| Type |
Name |
Description |
| IRequestSpan |
span |
The desired parent tracing span.
|
Returns
|
Edit this page
View Source
Transcoder(ITypeTranscoder)
Specify a specific Transcoder to use when performing the transactional GET.
If none is specified, we default to JsonTranscoder
Declaration
public TransactionReplaceOptionsBuilder Transcoder(ITypeTranscoder transcoder)
Parameters
Returns