Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Enum ServiceState

Namespace: Couchbase.Diagnostics
Assembly: Couchbase.NetClient.dll
Syntax
[JsonConverter(typeof(CamelCaseStringEnumConverter<ServiceState>))]
public enum ServiceState

Fields

Name Description
Active

The service has been in-use since its creation

Authenticating

The service is authenticating with a Couchbase server.

Connected

The service is connected to a Couchbase server and available to process requests.

Connecting

The service is currently attempting to connect to a Couchbase server.

Disconnected

The service has disconnected from a Couchbase server. A service can be in this state when waiting to be cleaned-up.

Error

There was an error when trying to ping a Couchbase server.

New

The service is new and has not established a connection to a Couchbase sever yet.

Ok

The service is operating as expected and replied within the expected timeout.

Timeout

The service timed out while trying to ping the Couchbase server.

Unknown

The service state is unknown.

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