Interface IRequest
Assembly: Couchbase.NetClient.dll
Syntax
public interface IRequest
Properties
|
Edit this page
View Source
Attempts
Declaration
uint Attempts { get; set; }
Property Value
|
Edit this page
View Source
ClientContextId
Gets the context identifier for the analytics request. Useful for debugging.
Declaration
string? ClientContextId { get; set; }
Property Value
Type |
Description |
string |
The unique request ID.
|
|
Edit this page
View Source
Elapsed
The total time expired at the time the operation is called. If another retry happens,
it will be updated once the response is received.
Declaration
TimeSpan Elapsed { get; }
Property Value
|
Edit this page
View Source
Idempotent
Declaration
Property Value
|
Edit this page
View Source
Recorder
Declaration
[Obsolete("Unused, will be removed in a future version.")]
IValueRecorder Recorder { get; set; }
Property Value
|
Edit this page
View Source
RetryReasons
Declaration
List<RetryReason> RetryReasons { get; set; }
Property Value
|
Edit this page
View Source
RetryStrategy
Declaration
IRetryStrategy RetryStrategy { get; set; }
Property Value
|
Edit this page
View Source
Statement
Declaration
string? Statement { get; set; }
Property Value
|
Edit this page
View Source
Timeout
Declaration
TimeSpan Timeout { get; set; }
Property Value
|
Edit this page
View Source
Token
Declaration
CancellationToken Token { get; set; }
Property Value
Methods
|
Edit this page
View Source
LogOrphaned()
Declaration
|
Edit this page
View Source
StopRecording()
Stops the operation timer and writes the elapsed milliseconds to the IValueRecorder.
Declaration
|
Edit this page
View Source
StopRecording(Type?)
Declaration
void StopRecording(Type? errorType)
Parameters
Type |
Name |
Description |
Type |
errorType |
|
Extension Methods