Uses of Enum
com.couchbase.client.core.service.ServiceType
Packages that use ServiceType
Package
Description
-
Uses of ServiceType in com.couchbase.client.core
Methods in com.couchbase.client.core with parameters of type ServiceTypeModifier and TypeMethodDescriptionCore.ensureServiceAt
(NodeIdentifier identifier, ServiceType serviceType, int port, Optional<String> bucket) 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.Method parameters in com.couchbase.client.core with type arguments of type ServiceTypeModifier 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
Method parameters in com.couchbase.client.core.api with type arguments of type ServiceTypeModifier and TypeMethodDescriptionCoreCouchbaseOps.waitUntilReady
(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, String bucketName) -
Uses of ServiceType in com.couchbase.client.core.cnc.events.core
Methods in com.couchbase.client.core.cnc.events.core that return ServiceTypeConstructors in com.couchbase.client.core.cnc.events.core with parameters of type ServiceTypeModifierConstructorDescriptionServiceReconfigurationFailedEvent
(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 ServiceTypeConstructors in com.couchbase.client.core.cnc.events.io with parameters of type ServiceTypeModifierConstructorDescriptionInvalidRequestDetectedEvent
(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 ServiceTypeModifier and TypeMethodDescriptionAbstractBucketConfig.clusterCapabilities()
Deprecated.BucketConfig.clusterCapabilities()
Deprecated.Returns the cluster capabilities reported by the server.ClusterConfig.clusterCapabilities()
Returns the current cluster capabilities.GlobalConfig.clusterCapabilities()
Deprecated.All global cluster capabilities.PortInfo.ports()
Deprecated.AlternateAddress.services()
Deprecated.NodeInfo.services()
Deprecated.PortInfo.sslPorts()
Deprecated.AlternateAddress.sslServices()
Deprecated.NodeInfo.sslServices()
Deprecated.Methods in com.couchbase.client.core.config with parameters of type ServiceTypeModifier and TypeMethodDescriptionboolean
AbstractBucketConfig.serviceEnabled
(ServiceType type) Deprecated.boolean
BucketConfig.serviceEnabled
(ServiceType type) Deprecated.Check if the service is enabled on the bucket.Constructor parameters in com.couchbase.client.core.config with type arguments of type ServiceTypeModifierConstructorDescriptionprotected
AbstractBucketConfig
(String uuid, String name, BucketNodeLocator locator, String uri, String streamingUri, List<NodeInfo> nodeInfo, Set<BucketCapabilities> bucketCapabilities, Map<ServiceType, Set<ClusterCapabilities>> clusterCapabilities, String origin, List<PortInfo> portInfos, ConfigVersion version, ClusterTopologyWithBucket clusterTopology) Deprecated.A "dumb" constructor that assigns the given values directly to the corresponding fields, without any funny business.NodeInfo
(String hostname, Map<ServiceType, Integer> direct, Map<ServiceType, Integer> ssl, HostAndPort ketamaAuthority, NodeIdentifier nodeIdentifier) Deprecated.Creates an instance from pre-parsed address info.NodeInfo
(String hostname, Map<ServiceType, Integer> direct, Map<ServiceType, Integer> ssl, Map<String, AlternateAddress> alternateAddresses) Deprecated.Creates a newNodeInfo
with SSL services. -
Uses of ServiceType in com.couchbase.client.core.diagnostics
Methods in com.couchbase.client.core.diagnostics that return ServiceTypeModifier and TypeMethodDescriptionEndpointDiagnostics.type()
The service type for this endpoint.EndpointPingReport.type()
The service type for this endpoint.Methods in com.couchbase.client.core.diagnostics that return types with arguments of type ServiceTypeModifier and TypeMethodDescriptionDiagnosticsResult.endpoints()
Returns the diagnostic reports of each individual endpoint.PingResult.endpoints()
Returns the diagnostic reports of each individual endpoint.Method parameters in com.couchbase.client.core.diagnostics with type arguments of type ServiceTypeModifier 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) Constructors in com.couchbase.client.core.diagnostics with parameters of type ServiceTypeModifierConstructorDescriptionEndpointDiagnostics
(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) Constructor parameters in com.couchbase.client.core.diagnostics with type arguments of type ServiceTypeModifierConstructorDescriptionDiagnosticsResult
(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
Methods in com.couchbase.client.core.endpoint that return ServiceTypeConstructors in com.couchbase.client.core.endpoint with parameters of type ServiceTypeModifierConstructorDescriptionEndpointContext
(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 -
Uses of ServiceType in com.couchbase.client.core.env
Methods in com.couchbase.client.core.env that return types with arguments of type ServiceTypeModifier and TypeMethodDescriptionIoConfig.servicesToCapture()
Lists the services on which traffic should be captured.Methods in com.couchbase.client.core.env with parameters of type ServiceTypeModifier 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
Methods in com.couchbase.client.core.error with parameters of type ServiceTypeModifier and TypeMethodDescriptionstatic 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 ServiceTypeModifierConstructorDescriptionprotected
NonChunkedHttpMessageHandler
(BaseEndpoint endpoint, ServiceType serviceType) -
Uses of ServiceType in com.couchbase.client.core.msg
Methods in com.couchbase.client.core.msg that return ServiceTypeModifier and TypeMethodDescriptionRequest.serviceType()
The service type of this request.RequestTarget.serviceType()
Constructors in com.couchbase.client.core.msg with parameters of type ServiceTypeModifierConstructorDescriptionRequestTarget
(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 -
Uses of ServiceType in com.couchbase.client.core.msg.kv
Methods in com.couchbase.client.core.msg.kv that return ServiceType -
Uses of ServiceType in com.couchbase.client.core.msg.manager
Methods in com.couchbase.client.core.msg.manager that return ServiceType -
Uses of ServiceType in com.couchbase.client.core.msg.query
Methods in com.couchbase.client.core.msg.query that return ServiceType -
Uses of ServiceType in com.couchbase.client.core.msg.search
Methods in com.couchbase.client.core.msg.search that return ServiceType -
Uses of ServiceType in com.couchbase.client.core.msg.view
Methods in com.couchbase.client.core.msg.view that return ServiceType -
Uses of ServiceType in com.couchbase.client.core.node
Methods in com.couchbase.client.core.node with parameters of type ServiceTypeModifier and TypeMethodDescriptionNode.addService
(ServiceType type, int port, Optional<String> bucket) protected Service
Node.createService
(ServiceType serviceType, HostAndPort address, 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.Constructors in com.couchbase.client.core.node with parameters of type ServiceType -
Uses of ServiceType in com.couchbase.client.core.protostellar
Fields in com.couchbase.client.core.protostellar declared as ServiceTypeMethods in com.couchbase.client.core.protostellar that return ServiceTypeModifier and TypeMethodDescriptionProtostellarBaseRequest.serviceType()
ProtostellarRequest.serviceType()
Constructors in com.couchbase.client.core.protostellar with parameters of type ServiceTypeModifierConstructorDescriptionProtostellarRequest
(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
Methods in com.couchbase.client.core.service that return ServiceTypeModifier 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.Constructors in com.couchbase.client.core.service with parameters of type ServiceTypeModifierConstructorDescriptionServiceContext
(CoreContext ctx, String remoteHostname, int remotePort, ServiceType serviceType, Optional<String> bucket) -
Uses of ServiceType in com.couchbase.client.core.topology
Methods in com.couchbase.client.core.topology that return types with arguments of type ServiceTypeModifier and TypeMethodDescriptionHostAndServicePorts.ports()
PortSelector.selectPorts
(Map<String, Integer> serviceNameToPort) Methods in com.couchbase.client.core.topology with parameters of type ServiceTypeModifier and TypeMethodDescriptionboolean
HostAndServicePorts.has
(ServiceType serviceType) HostAndServicePorts.port
(ServiceType serviceType) HostAndServicePorts.without
(ServiceType service, ServiceType... moreServices) Method parameters in com.couchbase.client.core.topology with type arguments of type ServiceTypeModifier and TypeMethodDescriptionClusterTopologyBuilder.NodeBuilder.ports
(Map<ServiceType, Integer> ports) Constructor parameters in com.couchbase.client.core.topology with type arguments of type ServiceTypeModifierConstructorDescriptionHostAndServicePorts
(String host, Map<ServiceType, Integer> ports, NodeIdentifier id, @Nullable HostAndPort ketamaAuthority, @Nullable String serverGroup, @Nullable String appTelemetryPath, @Nullable String nodeUuid) -
Uses of ServiceType in com.couchbase.client.core.transaction.components
Methods in com.couchbase.client.core.transaction.components that return ServiceType