Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class GetReplicaStrategyFromIndexOptions

Optional parameters for FromIndex(ReplicaIndex, GetReplicaStrategyFromIndexOptions?).

Inheritance
object
GetReplicaStrategyFromIndexOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Uncommitted)]
public class GetReplicaStrategyFromIndexOptions

Constructors

View Source

GetReplicaStrategyFromIndexOptions()

Declaration
public GetReplicaStrategyFromIndexOptions()

Methods

View Source

Wrap(bool)

Reads the next available replica when the requested one does not exist or is not available. Without wrap the operation fails instead.

Declaration
public GetReplicaStrategyFromIndexOptions Wrap(bool wrap = true)
Parameters
Type Name Description
bool wrap

True to move to the next available replica.

Returns
Type Description
GetReplicaStrategyFromIndexOptions

A GetReplicaStrategyFromIndexOptions instance for chaining.

  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.