Click or drag to resize

IVBucket Interface

Represents a VBucket partition in a Couchbase cluster

Namespace:  Couchbase.Core.Sharding
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public interface IVBucket : IMappedNode

The IVBucket type exposes the following members.

Properties
  NameDescription
Public propertyBucketName
Name of the bucket this vBucket is associated with.
Public propertyHasReplicas
Gets a value indicating whether this instance has replicas.
Public propertyIndex
Gets the index of the VBucket.
Public propertyPrimary
Gets the index of the primary node in the VBucket.
Public propertyReplicas
Gets an array of replica indexes.
Top
Methods
  NameDescription
Public methodLocateReplica
Locates a replica for a given index.
Top
See Also