Interface IOperationResult
The primary return type for binary Memcached operations
Namespace: Couchbase.Core.IO.Operations
Assembly: Couchbase.NetClient.dll
Syntax
[Obsolete("This interface is not required and will be removed in a future release.")]
public interface IOperationResult : IResult
Properties
| Edit this page View SourceCas
The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.
Declaration
ulong Cas { get; set; }
Property Value
Type | Description |
---|---|
ulong |
Durability
The level of durability that the operation achieved
Declaration
Durability Durability { get; set; }
Property Value
Type | Description |
---|---|
Durability |
Id
Gets the id or key for the document.
Declaration
string? Id { get; }
Property Value
Type | Description |
---|---|
string | The identifier. |
OpCode
Gets the op code.
Declaration
OpCode OpCode { get; }
Property Value
Type | Description |
---|---|
OpCode | The op code. |
Status
The server's response status for the operation.
Declaration
ResponseStatus Status { get; }
Property Value
Type | Description |
---|---|
ResponseStatus |
Token
Gets the mutation token for the operation if enhanced durability is enabled.
Declaration
MutationToken? Token { get; }
Property Value
Type | Description |
---|---|
MutationToken | The mutation token. |
Remarks
Note: this is used internally for enhanced durability if supported by the Couchbase server version and enabled by clusterOptions.
Methods
| Edit this page View SourceIsNmv()
Checks if the server responded with a Not My Vbucket.
Declaration
bool IsNmv()
Returns
Type | Description |
---|---|
bool | Returns true if ResponseStatus is a VBucketBelongsToAnotherServer. |