Modifier and Type | Method and Description |
---|---|
Map<ServiceType,Integer> |
PortInfo.ports() |
Map<ServiceType,Integer> |
DefaultPortInfo.ports() |
Map<ServiceType,Integer> |
NodeInfo.services()
The exposed non-ssl services.
|
Map<ServiceType,Integer> |
DefaultNodeInfo.services() |
Map<ServiceType,Integer> |
DefaultAlternateAddress.services() |
Map<ServiceType,Integer> |
AlternateAddress.services()
The exposed non-ssl services.
|
Map<ServiceType,Integer> |
PortInfo.sslPorts() |
Map<ServiceType,Integer> |
DefaultPortInfo.sslPorts() |
Map<ServiceType,Integer> |
NodeInfo.sslServices()
The exposed ssl services.
|
Map<ServiceType,Integer> |
DefaultNodeInfo.sslServices() |
Map<ServiceType,Integer> |
DefaultAlternateAddress.sslServices() |
Map<ServiceType,Integer> |
AlternateAddress.sslServices()
The exposed ssl services.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BucketConfig.serviceEnabled(ServiceType type)
Check if the service is enabled on the bucket.
|
boolean |
AbstractBucketConfig.serviceEnabled(ServiceType type) |
Constructor and Description |
---|
DefaultNodeInfo(NetworkAddress hostname,
Map<ServiceType,Integer> direct,
Map<ServiceType,Integer> ssl,
Map<String,AlternateAddress> alternateAddresses)
Creates a new
DefaultNodeInfo with SSL services. |
DefaultNodeInfo(NetworkAddress hostname,
Map<ServiceType,Integer> direct,
Map<ServiceType,Integer> ssl,
Map<String,AlternateAddress> alternateAddresses)
Creates a new
DefaultNodeInfo with SSL services. |
Constructor and Description |
---|
AbstractLoader(LoaderType loaderType,
ServiceType serviceType,
ClusterFacade cluster,
CoreEnvironment environment)
Create a new
AbstractLoader . |
Modifier and Type | Method and Description |
---|---|
protected abstract ServiceType |
AbstractGenericHandler.serviceType()
Returns the
ServiceType associated with this handler. |
Modifier and Type | Method and Description |
---|---|
rx.Single<EndpointHealth> |
Endpoint.diagnostics(ServiceType type)
Returns health information for this endpoint.
|
rx.Single<EndpointHealth> |
AbstractEndpoint.diagnostics(ServiceType type) |
Modifier and Type | Method and Description |
---|---|
protected ServiceType |
AnalyticsHandler.serviceType() |
Modifier and Type | Method and Description |
---|---|
protected ServiceType |
ConfigHandler.serviceType() |
Modifier and Type | Method and Description |
---|---|
protected ServiceType |
KeyValueHandler.serviceType() |
Modifier and Type | Method and Description |
---|---|
protected ServiceType |
QueryHandlerV2.serviceType() |
protected ServiceType |
QueryHandler.serviceType() |
Modifier and Type | Method and Description |
---|---|
protected ServiceType |
SearchHandler.serviceType() |
Modifier and Type | Method and Description |
---|---|
protected ServiceType |
ViewHandler.serviceType() |
Modifier and Type | Method and Description |
---|---|
ServiceType |
RemoveServiceRequest.type() |
ServiceType |
PingServiceHealth.type() |
ServiceType |
EndpointHealth.type() |
ServiceType |
AddServiceRequest.type() |
Modifier and Type | Method and Description |
---|---|
List<EndpointHealth> |
DiagnosticsReport.endpoints(ServiceType type) |
Constructor and Description |
---|
AddServiceRequest(ServiceType type,
String bucket,
String password,
int port,
NetworkAddress hostname) |
AddServiceRequest(ServiceType type,
String bucket,
String username,
String password,
int port,
NetworkAddress hostname) |
EndpointHealth(ServiceType type,
LifecycleState state,
SocketAddress localAddr,
SocketAddress remoteAddr,
long lastActivityUs,
String id) |
PingServiceHealth(ServiceType serviceType,
PingServiceHealth.PingState pingState,
String id,
long latency,
SocketAddress localAddr,
SocketAddress remoteAddr,
String scope) |
RemoveServiceRequest(ServiceType type,
String bucket,
NetworkAddress hostname) |
Modifier and Type | Method and Description |
---|---|
Service |
ServiceRegistry.serviceBy(ServiceType type,
String bucket) |
Service |
DefaultServiceRegistry.serviceBy(ServiceType type,
String bucket) |
boolean |
Node.serviceEnabled(ServiceType type)
True if the given
ServiceType is currently enabled on this node, false otherwise. |
boolean |
CouchbaseNode.serviceEnabled(ServiceType type) |
Modifier and Type | Method and Description |
---|---|
ServiceType |
ViewService.type() |
ServiceType |
Service.type()
Returns the type for the given
Service . |
ServiceType |
SearchService.type() |
ServiceType |
QueryService.type() |
ServiceType |
OldViewService.type() |
ServiceType |
OldSearchService.type() |
ServiceType |
OldQueryService.type() |
ServiceType |
OldKeyValueService.type() |
ServiceType |
OldAnalyticsService.type() |
ServiceType |
KeyValueService.type() |
ServiceType |
ConfigService.type() |
ServiceType |
AnalyticsService.type() |
static ServiceType |
ServiceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceType[] |
ServiceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Service |
ServiceFactory.create(String hostname,
String bucket,
String username,
String password,
int port,
CoreContext ctx,
ServiceType type) |
Modifier and Type | Method and Description |
---|---|
Map<ServiceType,Integer> |
RingBufferDiagnostics.counts()
Returns a map of the type of each request, along with the current count of each in the ringbuffer
|
Constructor and Description |
---|
RingBufferDiagnostics(Map<ServiceType,Integer> counts,
int countNonService) |
Modifier and Type | Method and Description |
---|---|
static rx.Single<PingReport> |
HealthPinger.ping(CoreEnvironment env,
String bucket,
String password,
ClusterFacade core,
String id,
long timeout,
TimeUnit timeUnit,
ServiceType... types)
Performs a service ping against all or (if given) the services provided.
|
Copyright © 2018 Couchbase, Inc.. All rights reserved.