Class TouchOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class TouchOptions
Fields
|
Edit this page
View Source
DefaultReadOnly
Declaration
public static readonly TouchOptions.ReadOnly DefaultReadOnly
Field Value
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public TouchOptions.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
CancellationToken(CancellationToken)
Declaration
public TouchOptions CancellationToken(CancellationToken token)
Parameters
Returns
Type |
Description |
TouchOptions |
An options instance for chaining.
|
|
Edit this page
View Source
Deconstruct(out TimeSpan?, out CancellationToken, out IRetryStrategy?, out IRequestSpan?)
Declaration
public void Deconstruct(out TimeSpan? timeout, out CancellationToken token, out IRetryStrategy? retryStrategy, out IRequestSpan? requestSpan)
Parameters
|
Edit this page
View Source
RequestSpan(IRequestSpan)
Inject an external span which will the be the parent span of the internal span(s).
Declaration
public TouchOptions RequestSpan(IRequestSpan span)
Parameters
Returns
Type |
Description |
TouchOptions |
An options instance for chaining.
|
|
Edit this page
View Source
RetryStrategy(IRetryStrategy)
Declaration
public TouchOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
Type |
Description |
TouchOptions |
An options instance for chaining.
|
|
Edit this page
View Source
Timeout(TimeSpan)
The time in which the operation will timeout if it does not complete.
Declaration
public TouchOptions Timeout(TimeSpan timeout)
Parameters
Returns
Type |
Description |
TouchOptions |
An options instance for chaining.
|