Class QueueOptions
Behavior options for the IPersistentQueue<T> implementation.
Implements
Namespace: Couchbase.DataStructures
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class QueueOptions : object, IEquatable<QueueOptions>
Constructors
| Improve this Doc View SourceQueueOptions(Int32, Nullable<TimeSpan>)
Behavior options for the IPersistentQueue<T> implementation.
Declaration
public QueueOptions(int CasMismatchRetries = null, TimeSpan? Timeout = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | CasMismatchRetries | For operations that use Cas, such as Dequeue() the number of times a CasMismatchException will be retried internally. |
Nullable<TimeSpan> | Timeout | The timeout value for operations that involve retries. Defaults to KvTimeout. |
Fields
| Improve this Doc View SourceDefaultCasMismatchRetries
Declaration
public const int DefaultCasMismatchRetries = null
Field Value
Type | Description |
---|---|
Int32 |
Properties
| Improve this Doc View SourceCasMismatchRetries
Declaration
public int CasMismatchRetries { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Timeout
Declaration
public TimeSpan? Timeout { get; set; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |