public enum ServiceType extends Enum<ServiceType>
Enum Constant and Description |
---|
ANALYTICS
The Analytics Service.
|
BACKUP
The Backup service
|
EVENTING
The Eventing (function) service.
|
KV
The Key/Value Service ("kv").
|
MANAGER
The Cluster Manager service ("ns server")
|
QUERY
The Query Service ("n1ql").
|
SEARCH
The Search Service ("fts").
|
VIEWS
The View Service.
|
Modifier and Type | Method and Description |
---|---|
String |
ident() |
ServiceScope |
scope() |
static ServiceType |
valueOf(String name)
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.
|
public static final ServiceType KV
public static final ServiceType QUERY
public static final ServiceType ANALYTICS
public static final ServiceType SEARCH
public static final ServiceType VIEWS
public static final ServiceType MANAGER
public static final ServiceType EVENTING
@Stability.Volatile public static final ServiceType BACKUP
public static ServiceType[] values()
for (ServiceType c : ServiceType.values()) System.out.println(c);
public static ServiceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ServiceScope scope()
public String ident()
Copyright © 2024 Couchbase, Inc.. All rights reserved.