Uses of Enum
com.couchbase.client.core.service.ServiceType
Package
Description
-
Uses of ServiceType in com.couchbase.client.core
Modifier and TypeMethodDescriptionCore.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.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.Modifier and TypeMethodDescriptionCore.waitUntilReady
(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, String bucketName) CoreProtostellar.waitUntilReady
(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, String bucketName) -
Uses of ServiceType in com.couchbase.client.core.api
Modifier and TypeMethodDescriptionCoreCouchbaseOps.waitUntilReady
(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, String bucketName) -
Uses of ServiceType in com.couchbase.client.core.cnc
-
Uses of ServiceType in com.couchbase.client.core.cnc.events.core
ModifierConstructorDescriptionServiceReconfigurationFailedEvent
(Context context, String hostname, ServiceType serviceType, Throwable reason) -
Uses of ServiceType in com.couchbase.client.core.cnc.events.io
ModifierConstructorDescriptionInvalidRequestDetectedEvent
(IoContext context, ServiceType serviceType, Object message) -
Uses of ServiceType in com.couchbase.client.core.config
Modifier and TypeMethodDescriptionAbstractBucketConfig.clusterCapabilities()
BucketConfig.clusterCapabilities()
Returns the cluster capabilities reported by the server.ClusterConfig.clusterCapabilities()
Returns the current cluster capabilities.GlobalConfig.clusterCapabilities()
All global cluster capabilities.PortInfo.ports()
AlternateAddress.services()
NodeInfo.services()
PortInfo.sslPorts()
AlternateAddress.sslServices()
NodeInfo.sslServices()
Modifier and TypeMethodDescriptionboolean
AbstractBucketConfig.serviceEnabled
(ServiceType type) boolean
BucketConfig.serviceEnabled
(ServiceType type) Check if the service is enabled on the bucket.ModifierConstructorDescriptionNodeInfo
(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
Modifier and TypeMethodDescriptionEndpointDiagnostics.type()
The service type for this endpoint.EndpointPingReport.type()
The service type for this endpoint.Modifier and TypeMethodDescriptionDiagnosticsResult.endpoints()
Returns the diagnostic reports of each individual endpoint.PingResult.endpoints()
Returns the diagnostic reports of each individual endpoint.Modifier and TypeMethodDescriptionstatic Mono<PingResult>
HealthPinger.ping
(Core core, Optional<Duration> timeout, RetryStrategy retryStrategy, Set<ServiceType> serviceTypes, Optional<String> reportId, Optional<String> bucketName) static Mono<PingResult>
HealthPinger.ping
(Core core, Optional<Duration> timeout, RetryStrategy retryStrategy, Set<ServiceType> serviceTypes, Optional<String> reportId, Optional<String> bucketName, WaitUntilReadyHelper.WaitUntilReadyLogger log) 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) ModifierConstructorDescriptionEndpointDiagnostics
(ServiceType type, EndpointState state, CircuitBreaker.State circuitBreakerState, String local, String remote, Optional<String> namespace, Optional<Long> lastActivityUs, Optional<String> id, Optional<Throwable> lastConnectAttemptFailure) EndpointPingReport
(ServiceType type, String id, String local, String remote, PingState state, Optional<String> namespace, Duration latency, Optional<String> error) ModifierConstructorDescriptionDiagnosticsResult
(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, Set<RequestTarget> remainingPingTargets) WaitUntilReadyContext
(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, Optional<String> bucketName, Map<ServiceType, List<EndpointDiagnostics>> diagnostics, WaitUntilReadyHelper.WaitUntilReadyState state, Set<RequestTarget> remainingPingTargets) -
Uses of ServiceType in com.couchbase.client.core.endpoint
ModifierConstructorDescriptionEndpointContext
(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
-
Uses of ServiceType in com.couchbase.client.core.env
Modifier and TypeMethodDescriptionIoConfig.servicesToCapture()
Lists the services on which traffic should be captured.Modifier and TypeMethodDescriptiondefault 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.captureTraffic
(ServiceType... serviceTypes) Captures and logs network traffic for the specified services (or all services if none are specified).static IoConfig.Builder
IoConfig.captureTraffic
(ServiceType... serviceTypes) Deprecated.This method creates a new builder. -
Uses of ServiceType in com.couchbase.client.core.error
Modifier and TypeMethodDescriptionstatic FeatureNotAvailableException
FeatureNotAvailableException.clusterLevelQuery
(ServiceType serviceType) static FeatureNotAvailableException
FeatureNotAvailableException.scopeLevelQuery
(ServiceType serviceType) -
Uses of ServiceType in com.couchbase.client.core.io.netty
ModifierConstructorDescriptionprotected
NonChunkedHttpMessageHandler
(BaseEndpoint endpoint, ServiceType serviceType) -
Uses of ServiceType in com.couchbase.client.core.msg
Modifier and TypeMethodDescriptionRequest.serviceType()
The service type of this request.RequestTarget.serviceType()
ModifierConstructorDescriptionRequestTarget
(ServiceType serviceType, NodeIdentifier nodeIdentifier, String bucketName) -
Uses of ServiceType in com.couchbase.client.core.msg.analytics
-
Uses of ServiceType in com.couchbase.client.core.msg.kv
-
Uses of ServiceType in com.couchbase.client.core.msg.manager
-
Uses of ServiceType in com.couchbase.client.core.msg.query
-
Uses of ServiceType in com.couchbase.client.core.msg.search
-
Uses of ServiceType in com.couchbase.client.core.msg.view
-
Uses of ServiceType in com.couchbase.client.core.node
Modifier and TypeMethodDescriptionNode.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.Node.removeService
(ServiceType type, Optional<String> bucket) boolean
Node.serviceEnabled
(ServiceType type) If a givenServiceType
is enabled on this node.Node.serviceState
(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.protostellar
Modifier and TypeMethodDescriptionProtostellarBaseRequest.serviceType()
ProtostellarRequest.serviceType()
ModifierConstructorDescriptionProtostellarRequest
(TGrpcRequest request, CoreProtostellar core, ServiceType serviceType, String requestName, RequestSpan span, Duration timeout, boolean readonly, RetryStrategy retryStrategy, Map<String, Object> clientContext, long encodeDurationNanos, Consumer<Map<String, Object>> contextSupplier) -
Uses of ServiceType in com.couchbase.client.core.service
Modifier and TypeMethodDescriptionServiceContext.serviceType()
AnalyticsService.type()
BackupService.type()
EventingService.type()
KeyValueService.type()
ManagerService.type()
QueryService.type()
SearchService.type()
Service.type()
Represents the service type for this service.ViewService.type()
static ServiceType
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.ModifierConstructorDescriptionServiceContext
(CoreContext ctx, String remoteHostname, int remotePort, ServiceType serviceType, Optional<String> bucket) -
Uses of ServiceType in com.couchbase.client.core.transaction.components
-
Uses of ServiceType in com.couchbase.client.core.util
Modifier and TypeMethodDescriptionstatic Mono<Map<ServiceType,
Set<ClusterCapabilities>>> ClusterCapabilitiesUtil.waitForClusterCapabilities
(Core core, Duration timeout)