Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class WaitUntilReadyOptions

Optional arguments for the WaitUntilReady methods.

Inheritance
object
WaitUntilReadyOptions
Inherited Members
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Diagnostics
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class WaitUntilReadyOptions

Constructors

View Source

WaitUntilReadyOptions()

Declaration
public WaitUntilReadyOptions()

Methods

View Source

CancellationToken(CancellationToken)

A cancellation token for cooperative task cancellation.

Declaration
public WaitUntilReadyOptions CancellationToken(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
WaitUntilReadyOptions
View Source

DesiredState(ClusterState)

The desired state - the default is Online.

Declaration
public WaitUntilReadyOptions DesiredState(ClusterState clusterState)
Parameters
Type Name Description
ClusterState clusterState
Returns
Type Description
WaitUntilReadyOptions
View Source

ServiceTypes(params ServiceType[])

The service types to check, if not provided all service types will be checked.

Declaration
public WaitUntilReadyOptions ServiceTypes(params ServiceType[] serviceTypes)
Parameters
Type Name Description
ServiceType[] serviceTypes
Returns
Type Description
WaitUntilReadyOptions
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.