Uses of Class
com.couchbase.client.core.service.ServiceType
-
-
Uses of ServiceType in com.couchbase.client.core
Methods in com.couchbase.client.core with parameters of type ServiceType Modifier and Type Method Description Mono<Void>
Core. ensureServiceAt(NodeIdentifier identifier, ServiceType serviceType, int port, Optional<String> bucket, Optional<String> alternateAddress)
This method can be used by a caller to make sure a certain service is enabled at the given target node.Optional<Flux<ServiceState>>
Core. serviceState(NodeIdentifier nodeIdentifier, ServiceType type, Optional<String> bucket)
If present, returns a flux that allows to monitor the state changes of a specific service. -
Uses of ServiceType in com.couchbase.client.core.cnc
Methods in com.couchbase.client.core.cnc with parameters of type ServiceType Modifier and Type Method Description static String
CbTracing. getTracingId(ServiceType serviceType)
-
Uses of ServiceType in com.couchbase.client.core.cnc.events.core
Methods in com.couchbase.client.core.cnc.events.core that return ServiceType Modifier and Type Method Description ServiceType
ServiceReconfigurationFailedEvent. serviceType()
Constructors in com.couchbase.client.core.cnc.events.core with parameters of type ServiceType Constructor Description ServiceReconfigurationFailedEvent(Context context, String hostname, ServiceType serviceType, Throwable reason)
-
Uses of ServiceType in com.couchbase.client.core.cnc.events.io
Methods in com.couchbase.client.core.cnc.events.io that return ServiceType Modifier and Type Method Description ServiceType
InvalidRequestDetectedEvent. serviceType()
Constructors in com.couchbase.client.core.cnc.events.io with parameters of type ServiceType Constructor Description InvalidRequestDetectedEvent(IoContext context, ServiceType serviceType, Object message)
-
Uses of ServiceType in com.couchbase.client.core.config
Methods in com.couchbase.client.core.config that return types with arguments of type ServiceType Modifier and Type Method Description Map<ServiceType,Set<ClusterCapabilities>>
AbstractBucketConfig. clusterCapabilities()
Map<ServiceType,Set<ClusterCapabilities>>
BucketConfig. clusterCapabilities()
Returns the cluster capabilities reported by the server.Map<ServiceType,Set<ClusterCapabilities>>
ClusterConfig. clusterCapabilities()
Returns the current cluster capabilities.Map<ServiceType,Set<ClusterCapabilities>>
GlobalConfig. clusterCapabilities()
All global cluster capabilities.Map<ServiceType,Integer>
PortInfo. ports()
Map<ServiceType,Integer>
AlternateAddress. services()
Map<ServiceType,Integer>
NodeInfo. services()
Map<ServiceType,Integer>
PortInfo. sslPorts()
Map<ServiceType,Integer>
AlternateAddress. sslServices()
Map<ServiceType,Integer>
NodeInfo. sslServices()
Methods in com.couchbase.client.core.config with parameters of type ServiceType Modifier and Type Method Description boolean
AbstractBucketConfig. serviceEnabled(ServiceType type)
boolean
BucketConfig. serviceEnabled(ServiceType type)
Check if the service is enabled on the bucket.Constructor parameters in com.couchbase.client.core.config with type arguments of type ServiceType Constructor Description NodeInfo(String hostname, Map<ServiceType,Integer> direct, Map<ServiceType,Integer> ssl, Map<String,AlternateAddress> alternateAddresses)
Creates a newNodeInfo
with SSL services. -
Uses of ServiceType in com.couchbase.client.core.diagnostics
Methods in com.couchbase.client.core.diagnostics that return ServiceType Modifier and Type Method Description ServiceType
EndpointDiagnostics. type()
The service type for this endpoint.ServiceType
EndpointPingReport. type()
The service type for this endpoint.Methods in com.couchbase.client.core.diagnostics that return types with arguments of type ServiceType Modifier and Type Method Description Map<ServiceType,List<EndpointDiagnostics>>
DiagnosticsResult. endpoints()
Returns the diagnostic reports of each individual endpoint.Map<ServiceType,List<EndpointPingReport>>
PingResult. endpoints()
Returns the diagnostic reports of each individual endpoint.Method parameters in com.couchbase.client.core.diagnostics with type arguments of type ServiceType Modifier and Type Method Description static Mono<PingResult>
HealthPinger. ping(Core core, Optional<Duration> timeout, RetryStrategy retryStrategy, Set<ServiceType> serviceTypes, Optional<String> reportId, Optional<String> bucketName)
Performs a service ping against all or (if given) the services provided.static CompletableFuture<Void>
WaitUntilReadyHelper. waitUntilReady(Core core, Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, Optional<String> bucketName)
Constructors in com.couchbase.client.core.diagnostics with parameters of type ServiceType Constructor Description EndpointDiagnostics(ServiceType type, EndpointState state, String local, String remote, Optional<String> namespace, Optional<Long> lastActivityUs, Optional<String> id)
EndpointPingReport(ServiceType type, String id, String local, String remote, PingState state, Optional<String> namespace, Duration latency, Optional<String> error)
Constructor parameters in com.couchbase.client.core.diagnostics with type arguments of type ServiceType Constructor Description DiagnosticsResult(Map<ServiceType,List<EndpointDiagnostics>> endpoints, String sdk, String id)
Creates the new diagnostics report.PingResult(Map<ServiceType,List<EndpointPingReport>> endpoints, String sdk, String id)
Creates the new ping report.WaitUntilReadyContext(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, Optional<String> bucketName, Map<ServiceType,List<EndpointDiagnostics>> diagnostics, WaitUntilReadyHelper.WaitUntilReadyState state)
WaitUntilReadyContext(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, Optional<String> bucketName, Map<ServiceType,List<EndpointDiagnostics>> diagnostics, WaitUntilReadyHelper.WaitUntilReadyState state)
-
Uses of ServiceType in com.couchbase.client.core.endpoint
Methods in com.couchbase.client.core.endpoint that return ServiceType Modifier and Type Method Description ServiceType
EndpointContext. serviceType()
Constructors in com.couchbase.client.core.endpoint with parameters of type ServiceType Constructor Description EndpointContext(CoreContext ctx, HostAndPort remoteSocket, CircuitBreaker circuitBreaker, ServiceType serviceType, Optional<HostAndPort> localSocket, Optional<String> bucket, Optional<String> channelId)
Creates a newEndpointContext
. -
Uses of ServiceType in com.couchbase.client.core.endpoint.http
Methods in com.couchbase.client.core.endpoint.http that return ServiceType Modifier and Type Method Description ServiceType
CoreHttpRequest. serviceType()
-
Uses of ServiceType in com.couchbase.client.core.env
Methods in com.couchbase.client.core.env that return types with arguments of type ServiceType Modifier and Type Method Description Set<ServiceType>
IoConfig. servicesToCapture()
Lists the services on which traffic should be captured.Methods in com.couchbase.client.core.env with parameters of type ServiceType Modifier and Type Method Description default void
Authenticator. authHttpRequest(ServiceType serviceType, com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpRequest request)
Allows to add authentication credentials to the http request for the given service.void
PasswordAuthenticator. authHttpRequest(ServiceType serviceType, com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpRequest request)
IoConfig.Builder
IoConfig.Builder. captureTraffic(ServiceType... serviceTypes)
Captures the traffic for all services provided as an argument (all if empty).static IoConfig.Builder
IoConfig. captureTraffic(ServiceType... serviceTypes)
Captures the traffic for all services provided as an argument (all if empty). -
Uses of ServiceType in com.couchbase.client.core.error
Methods in com.couchbase.client.core.error with parameters of type ServiceType Modifier and Type Method Description static FeatureNotAvailableException
FeatureNotAvailableException. clusterLevelQuery(ServiceType serviceType)
static FeatureNotAvailableException
FeatureNotAvailableException. scopeLevelQuery(ServiceType serviceType)
-
Uses of ServiceType in com.couchbase.client.core.io.netty
Constructors in com.couchbase.client.core.io.netty with parameters of type ServiceType Constructor Description NonChunkedHttpMessageHandler(BaseEndpoint endpoint, ServiceType serviceType)
-
Uses of ServiceType in com.couchbase.client.core.msg
Methods in com.couchbase.client.core.msg that return ServiceType Modifier and Type Method Description ServiceType
Request. serviceType()
The service type of this request.ServiceType
RequestTarget. serviceType()
Constructors in com.couchbase.client.core.msg with parameters of type ServiceType Constructor Description RequestTarget(ServiceType serviceType, NodeIdentifier nodeIdentifier, String bucketName)
-
Uses of ServiceType in com.couchbase.client.core.msg.analytics
Methods in com.couchbase.client.core.msg.analytics that return ServiceType Modifier and Type Method Description ServiceType
AnalyticsRequest. serviceType()
-
Uses of ServiceType in com.couchbase.client.core.msg.kv
Methods in com.couchbase.client.core.msg.kv that return ServiceType Modifier and Type Method Description ServiceType
BaseKeyValueRequest. serviceType()
-
Uses of ServiceType in com.couchbase.client.core.msg.manager
Methods in com.couchbase.client.core.msg.manager that return ServiceType Modifier and Type Method Description ServiceType
BaseManagerRequest. serviceType()
-
Uses of ServiceType in com.couchbase.client.core.msg.query
Methods in com.couchbase.client.core.msg.query that return ServiceType Modifier and Type Method Description ServiceType
QueryRequest. serviceType()
-
Uses of ServiceType in com.couchbase.client.core.msg.search
Methods in com.couchbase.client.core.msg.search that return ServiceType Modifier and Type Method Description ServiceType
SearchRequest. serviceType()
-
Uses of ServiceType in com.couchbase.client.core.msg.view
Methods in com.couchbase.client.core.msg.view that return ServiceType Modifier and Type Method Description ServiceType
ViewRequest. serviceType()
-
Uses of ServiceType in com.couchbase.client.core.node
Methods in com.couchbase.client.core.node with parameters of type ServiceType Modifier and Type Method Description Mono<Void>
Node. addService(ServiceType type, int port, Optional<String> bucket)
protected Service
Node. createService(ServiceType serviceType, int port, Optional<String> bucket)
Helper method to create theService
based on the service type provided.Mono<Void>
Node. removeService(ServiceType type, Optional<String> bucket)
boolean
Node. serviceEnabled(ServiceType type)
If a givenServiceType
is enabled on this node.Optional<Flux<ServiceState>>
Node. serviceState(ServiceType type, Optional<String> bucket)
If present, returns a flux that allows to monitor the state changes of a specific service.Constructors in com.couchbase.client.core.node with parameters of type ServiceType Constructor Description RoundRobinLocator(ServiceType serviceType)
-
Uses of ServiceType in com.couchbase.client.core.service
Methods in com.couchbase.client.core.service that return ServiceType Modifier and Type Method Description ServiceType
ServiceContext. serviceType()
ServiceType
AnalyticsService. type()
ServiceType
EventingService. type()
ServiceType
KeyValueService. type()
ServiceType
ManagerService. type()
ServiceType
QueryService. type()
ServiceType
SearchService. type()
ServiceType
Service. type()
Represents the service type for this service.ServiceType
ViewService. 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.Constructors in com.couchbase.client.core.service with parameters of type ServiceType Constructor Description ServiceContext(CoreContext ctx, String remoteHostname, int remotePort, ServiceType serviceType, Optional<String> bucket)
-