Class WaitUntilReadyOptions
Optional arguments for the WaitUntilReady methods.
Inheritance
System.Object
WaitUntilReadyOptions
Namespace: Couchbase.Diagnostics
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class WaitUntilReadyOptions : object
Methods
| Improve this Doc View SourceCancellationToken(CancellationToken)
A cancellation token for cooperative task cancellation.
Declaration
public WaitUntilReadyOptions CancellationToken(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
WaitUntilReadyOptions |
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 |
ServiceTypes(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 |