Enum ServiceType
- All Implemented Interfaces:
Serializable
,Comparable<ServiceType>
Describes the types of services available in a couchbase cluster.
- Since:
- 1.0.0
-
Enum Constant Summary
Enum ConstantDescriptionThe Analytics Service.The Backup serviceThe Eventing (function) service.The Key/Value Service ("kv").The Cluster Manager service ("ns server")The Query Service ("n1ql").The Search Service ("fts").The View Service. -
Method Summary
Modifier and TypeMethodDescriptionident()
scope()
static ServiceType
Returns the enum constant of this type with the specified name.static ServiceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KV
The Key/Value Service ("kv"). -
QUERY
The Query Service ("n1ql"). -
ANALYTICS
The Analytics Service. -
SEARCH
The Search Service ("fts"). -
VIEWS
The View Service. -
MANAGER
The Cluster Manager service ("ns server") -
EVENTING
The Eventing (function) service. -
BACKUP
The Backup service
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
scope
-
ident
-