Uses of Class
com.couchbase.client.core.annotation.Stability.Internal
-
-
Uses of Stability.Internal in com.couchbase.client.core
Classes in com.couchbase.client.core with annotations of type Stability.Internal Modifier and Type Class Description static classCore.ResponseMetricIdentifierclassCoreKeyspaceclassCoreLimiterclassCoreProtostellarclassTimerTheTimeracts as the main timing facility for various operations, for example to track and time out requests if they run for too long or for rescheduling needs.Methods in com.couchbase.client.core with annotations of type Stability.Internal Modifier and Type Method Description CoreContextCoreContext. alternateAddress(Optional<String> alternateAddress)Sets the alternate address on this context.ClusterConfigCore. clusterConfig()This API provides access to the current config that is published throughout the core.CoreCollectionManagerCore. collectionManager(String bucketName)ConfigurationProviderCore. configurationProvider()Returns the attached configuration provider.Stream<EndpointDiagnostics>Core. diagnostics()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.CoreHttpClientCore. httpClient(RequestTarget target)Returns a client for issuing HTTP requests to servers in the cluster.voidCore. initGlobalConfig()Instructs the client to, if possible, load and initialize the global config.Stream<InternalEndpointDiagnostics>Core. internalDiagnostics()booleanCore. isProtostellar()CoreKvBinaryOpsCore. kvBinaryOps(CoreKeyspace keyspace)CoreKvOpsCore. kvOps(CoreKeyspace keyspace)voidCore. openBucket(String name)Attempts to open a bucket and fails theMonoif there is a persistent error as the reason.CoreProtostellarCore. protostellar()CoreQueryOpsCore. queryOps()ValueRecorderCore. responseMetric(Core.ResponseMetricIdentifier rmi)ValueRecorderCore. responseMetric(Request<?> request)ValueRecorderCoreProtostellar. responseMetric(Core.ResponseMetricIdentifier rmi)CoreSearchOpsCore. searchOps(CoreBucketAndScope scope)<R extends Response>
voidCore. send(Request<R> request, boolean registerForTimeout)Sends a command into the core layer and allows to avoid timeout registration.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.Mono<Void>Core. shutdown()Mono<Void>Core. shutdown(Duration timeout)Shuts down this core and all associated, owned resources.CoreTransactionsCleanupCore. transactionsCleanup()CoreTransactionsContextCore. transactionsContext()static <T> Mono<T>Reactor. wrap(CompletableFuture<T> response, Runnable cancellationTask)Converts the given future into a mono. -
Uses of Stability.Internal in com.couchbase.client.core.annotation
Classes in com.couchbase.client.core.annotation with annotations of type Stability.Internal Modifier and Type Class Description interfaceSinceCouchbaseSpecifies the earliest version of Couchbase Server that supports the annotated feature.interfaceUsedByIndicates the target element is not intended for public use, but some other Couchbase project depends on it. -
Uses of Stability.Internal in com.couchbase.client.core.api
Classes in com.couchbase.client.core.api with annotations of type Stability.Internal Modifier and Type Interface Description interfaceCoreCouchbaseOpsProvides access to the variousCore*Opsinstances. -
Uses of Stability.Internal in com.couchbase.client.core.api.kv
Classes in com.couchbase.client.core.api.kv with annotations of type Stability.Internal Modifier and Type Class Description classCoreAsyncResponse<T>Associates aCompletableFuturewith a cancellation task.classCoreCounterResultclassCoreDurabilityEither a synchronousDurabilityLevel, or "persist to and replicate to" for legacy durability.interfaceCoreEncodedContentclassCoreExistsResultclassCoreExpiryA relative or absolute expiry.classCoreGetResultinterfaceCoreKvBinaryOpsinterfaceCoreKvOpsclassCoreKvParamValidatorsclassCoreKvResponseMetadataclassCoreKvResultclassCoreLookupInMacroConvenience macros to retrieve document metadata using a lookupIn Sub-Document call.classCoreMutationResultclassCoreStoreSemanticsclassCoreSubdocGetCommandclassCoreSubdocGetResultclassCoreSubdocMutateResult -
Uses of Stability.Internal in com.couchbase.client.core.api.manager
Classes in com.couchbase.client.core.api.manager with annotations of type Stability.Internal Modifier and Type Class Description classCoreBucketAndScopeinterfaceCoreBuildQueryIndexOptionsAllows customizing how deferred indexes are built.interfaceCoreCreatePrimaryQueryIndexOptionsAllows customizing how a query primary index is created.interfaceCoreCreateQueryIndexOptionsAllows customizing how a query index is created.interfaceCoreCreateQueryIndexSharedOptionsAllows customizing how a query primary index is created.interfaceCoreDropPrimaryQueryIndexOptionsAllows customizing how primary indexes are dropped.interfaceCoreDropQueryIndexOptionsAllows customizing how query indexes are dropped.interfaceCoreGetAllQueryIndexesOptionsAllows customizing how query indexes are loaded.classCoreQueryIndexContains the properties of a Query Index.classCoreScopeAndCollectioninterfaceCoreWatchQueryIndexesOptionsAllows customizing how the query indexes are watched. -
Uses of Stability.Internal in com.couchbase.client.core.api.manager.search
Classes in com.couchbase.client.core.api.manager.search with annotations of type Stability.Internal Modifier and Type Class Description classClassicCoreBaseSearchIndexManagerclassClassicCoreClusterSearchIndexManagerclassClassicCoreScopeSearchIndexManagerclassCoreSearchIndexinterfaceCoreSearchIndexManagerThe same interface is used for ScopeSearchIndexManager and SearchIndexManager, as there is no API difference between them at this level.Constructors in com.couchbase.client.core.api.manager.search with annotations of type Stability.Internal Constructor Description ClassicCoreBaseSearchIndexManager(Core core)ClassicCoreClusterSearchIndexManager(Core core)ClassicCoreScopeSearchIndexManager(Core core, CoreBucketAndScope scope) -
Uses of Stability.Internal in com.couchbase.client.core.api.query
Classes in com.couchbase.client.core.api.query with annotations of type Stability.Internal Modifier and Type Class Description classCoreQueryContextclassCoreQueryMetaDatainterfaceCoreQueryOpsinterfaceCoreQueryOptionsclassCoreQueryOptionsTransactionsTransactions does some rather complex things with CoreQueryOptions.classCoreQueryProfileQuery profiling information received from the server query engine.classCoreQueryResultThe result of a N1QL query, including rows and associated metadata.classCoreQueryScanConsistencyThe possible values for scan consistency in a N1QL request.classCoreQueryStatusclassCoreQueryWarningRepresents a single warning returned from the query engine.classCoreReactiveQueryResult -
Uses of Stability.Internal in com.couchbase.client.core.api.search
Classes in com.couchbase.client.core.api.search with annotations of type Stability.Internal Modifier and Type Class Description classClassicCoreSearchOpsclassCoreHighlightStyleclassCoreSearchMetaDatainterfaceCoreSearchOpsinterfaceCoreSearchOptionsclassCoreSearchQueryclassCoreSearchScanConsistencyMethods in com.couchbase.client.core.api.search with annotations of type Stability.Internal Modifier and Type Method Description static voidClassicCoreSearchOps. injectOptions(String indexName, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode queryJson, Duration timeout, CoreSearchOptions opts) -
Uses of Stability.Internal in com.couchbase.client.core.api.search.facet
Classes in com.couchbase.client.core.api.search.facet with annotations of type Stability.Internal Modifier and Type Class Description classCoreDateRangeclassCoreDateRangeFacetclassCoreNumericRangeclassCoreNumericRangeFacetclassCoreSearchFacetclassCoreTermFacet -
Uses of Stability.Internal in com.couchbase.client.core.api.search.queries
Classes in com.couchbase.client.core.api.search.queries with annotations of type Stability.Internal Modifier and Type Class Description classCoreAbstractCompoundQueryclassCoreBooleanFieldQueryclassCoreBooleanQueryclassCoreConjunctionQueryclassCoreCoordinateclassCoreDateRangeQueryclassCoreDisjunctionQueryclassCoreDocIdQueryclassCoreGeoBoundingBoxQueryclassCoreGeoDistanceQueryclassCoreGeoPolygonQueryclassCoreMatchAllQueryclassCoreMatchNoneQueryclassCoreMatchOperatorclassCoreMatchPhraseQueryclassCoreMatchQueryclassCoreNumericRangeQueryclassCorePhraseQueryclassCorePrefixQueryclassCoreQueryStringQueryclassCoreRegexpQueryclassCoreTermQueryclassCoreTermRangeQueryclassCoreWildcardQuery -
Uses of Stability.Internal in com.couchbase.client.core.api.search.result
Classes in com.couchbase.client.core.api.search.result with annotations of type Stability.Internal Modifier and Type Class Description classCoreAbstractSearchFacetResultclassCoreDateRangeSearchFacetResultclassCoreNumericRangeSearchFacetResultclassCoreReactiveSearchResultclassCoreSearchDateRangeA range (or bucket) for aCoreDateRangeSearchFacetResult.interfaceCoreSearchFacetResultclassCoreSearchMetricsclassCoreSearchNumericRangeclassCoreSearchResultclassCoreSearchRowLocationclassCoreSearchRowLocationsclassCoreSearchStatusclassCoreSearchTermRangeclassCoreTermSearchFacetResult -
Uses of Stability.Internal in com.couchbase.client.core.api.search.sort
Classes in com.couchbase.client.core.api.search.sort with annotations of type Stability.Internal Modifier and Type Class Description classCoreSearchFieldMissingclassCoreSearchFieldModeclassCoreSearchFieldTypeclassCoreSearchGeoDistanceUnitsclassCoreSearchSortclassCoreSearchSortFieldclassCoreSearchSortGeoDistanceclassCoreSearchSortIdclassCoreSearchSortScore -
Uses of Stability.Internal in com.couchbase.client.core.api.shared
Classes in com.couchbase.client.core.api.shared with annotations of type Stability.Internal Modifier and Type Class Description classCoreMutationState -
Uses of Stability.Internal in com.couchbase.client.core.callbacks
Classes in com.couchbase.client.core.callbacks with annotations of type Stability.Internal Modifier and Type Interface Description interfaceBeforeSendRequestCallbackThis callback is executed once an operation reaches the core and gets sent to a node. -
Uses of Stability.Internal in com.couchbase.client.core.classic
Classes in com.couchbase.client.core.classic with annotations of type Stability.Internal Modifier and Type Class Description classClassicExpiryHelperclassClassicHelper -
Uses of Stability.Internal in com.couchbase.client.core.classic.kv
Classes in com.couchbase.client.core.classic.kv with annotations of type Stability.Internal Modifier and Type Class Description classBinaryAccessorclassClassicCoreKvBinaryOpsclassClassicCoreKvOps -
Uses of Stability.Internal in com.couchbase.client.core.classic.manager
Classes in com.couchbase.client.core.classic.manager with annotations of type Stability.Internal Modifier and Type Class Description classClassicCoreCollectionManagerOps -
Uses of Stability.Internal in com.couchbase.client.core.classic.query
Classes in com.couchbase.client.core.classic.query with annotations of type Stability.Internal Modifier and Type Class Description classClassicCoreQueryMetaDataclassClassicCoreQueryMetricsclassClassicCoreQueryOpsclassClassicCoreQueryResultclassClassicCoreReactiveQueryResultclassEnhancedPreparedStatementStrategyServer remembers query plan; client sends just the prepared statement name.classLegacyPreparedStatementStrategyClient remembers query plan and sends it on every request.classPreparedStatementStrategyMethods in com.couchbase.client.core.classic.query with annotations of type Stability.Internal Modifier and Type Method Description static com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNodeClassicCoreQueryOps. convertOptions(CoreQueryOptions opts)static ClassicCoreQueryMetaDataClassicCoreQueryMetaData. from(QueryChunkHeader header, QueryChunkTrailer trailer)Constructors in com.couchbase.client.core.classic.query with annotations of type Stability.Internal Constructor Description ClassicCoreQueryMetaData(QueryChunkHeader header, QueryChunkTrailer trailer)ClassicCoreReactiveQueryResult(QueryResponse response, NodeIdentifier lastDispatchedTo) -
Uses of Stability.Internal in com.couchbase.client.core.cnc
Classes in com.couchbase.client.core.cnc with annotations of type Stability.Internal Modifier and Type Class Description classCbTracingstatic interfaceLoggingEventConsumer.LoggerGeneric logger interface.classOrphanReporterclassSimpleEventBusThis super simple event bus should be used in testing only to assert certain events got pushed through.classTracingIdentifiersHolds static tracing identifiers throughout the SDK.Methods in com.couchbase.client.core.cnc with annotations of type Stability.Internal Modifier and Type Method Description voidRequestSpan. requestContext(RequestContext requestContext)Allows to set a request context to the request span.Constructors in com.couchbase.client.core.cnc with annotations of type Stability.Internal Constructor Description OrphanReporter(EventBus eventBus, OrphanReporterConfig config)Creates a newOrphanReporter. -
Uses of Stability.Internal in com.couchbase.client.core.cnc.events.transaction
Constructors in com.couchbase.client.core.cnc.events.transaction with annotations of type Stability.Internal Constructor Description TransactionLogEvent(long timestamp, long threadId, String threadName, String transactionId, String secondaryId, String fmt, Object[] values, Event.Severity level) -
Uses of Stability.Internal in com.couchbase.client.core.cnc.metrics
Classes in com.couchbase.client.core.cnc.metrics with annotations of type Stability.Internal Modifier and Type Class Description classNameAndTagsHelper class which consolidates names and tags for caching purposes. -
Uses of Stability.Internal in com.couchbase.client.core.config
Classes in com.couchbase.client.core.config with annotations of type Stability.Internal Modifier and Type Class Description classConfigRefreshFailureinterfaceConfigurationProviderTheConfigurationProvideris responsible for grabbing, converting and managing bucket and cluster configurations.classKetamaRing<E>A Ketama ring (or "continuum", if you prefer) with Couchbase-specific parameters defined by Couchbase SDK RFC 26 (Ketama Hashing)Methods in com.couchbase.client.core.config with annotations of type Stability.Internal Modifier and Type Method Description voidClusterConfig. deleteBucketConfig(String bucketName)voidClusterConfig. deleteGlobalConfig()voidClusterConfig. setBucketConfig(BucketConfig config)voidClusterConfig. setGlobalConfig(GlobalConfig config) -
Uses of Stability.Internal in com.couchbase.client.core.config.refresher
Classes in com.couchbase.client.core.config.refresher with annotations of type Stability.Internal Modifier and Type Class Description classKeyValueBucketRefresherTheKeyValueBucketRefresherkeeps configs up-to-date through the KV service. -
Uses of Stability.Internal in com.couchbase.client.core.diagnostics
Classes in com.couchbase.client.core.diagnostics with annotations of type Stability.Internal Modifier and Type Class Description classHealthPingerTheHealthPingerallows to "ping" individual services with real operations for their health.classInternalEndpointDiagnosticsclassWaitUntilReadyHelperHelper class to perform the "wait until ready" logic.static classWaitUntilReadyHelper.WaitUntilReadyStateEncapsulates the state of where a wait until ready flow is in.Methods in com.couchbase.client.core.diagnostics with annotations of type Stability.Internal 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 annotations of type Stability.Internal Constructor Description DiagnosticsResult(Map<ServiceType,List<EndpointDiagnostics>> endpoints, String sdk, String id)Creates the new diagnostics report.EndpointDiagnostics(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)PingResult(Map<ServiceType,List<EndpointPingReport>> endpoints, String sdk, String id)Creates the new ping report. -
Uses of Stability.Internal in com.couchbase.client.core.endpoint
Classes in com.couchbase.client.core.endpoint with annotations of type Stability.Internal Modifier and Type Class Description classMultiAddressNameResolverFactoryclassProtostellarPoolMaintains a pool of ProtostellarEndpoints.Methods in com.couchbase.client.core.endpoint with annotations of type Stability.Internal Modifier and Type Method Description AuthenticationStatusEndpointContext. authenticationStatus()voidEndpointContext. authenticationStatus(AuthenticationStatus authenticationStatus)voidBaseEndpoint. decrementOutstandingRequests()Helper method to decrement outstanding requests, even if they haven't finished yet.InternalEndpointDiagnosticsEndpoint. internalDiagnostics()longBaseEndpoint. lastConnectedAt()voidBaseEndpoint. markRequestCompletion()Called from the event loop handlers to mark a request as being completed.voidBaseEndpoint. notifyChannelInactive()This method is called from inside the channel to tell the endpoint hat it got inactive.CompletableFuture<Void>ProtostellarEndpoint. waitUntilReady(Deadline deadline, boolean waitingForReady)Waits until the ManagedChannel is in READY state. -
Uses of Stability.Internal in com.couchbase.client.core.endpoint.http
Classes in com.couchbase.client.core.endpoint.http with annotations of type Stability.Internal Modifier and Type Interface Description interfaceCoreCommonOptionsclassCoreHttpClientclassCoreHttpPathThe "path" component of a URI, with support for path parameters whose replacement values are automatically url-encoded.classCoreHttpRequeststatic classCoreHttpRequest.BuilderBuilder for dynamic HTTP requestsclassCoreHttpResponse -
Uses of Stability.Internal in com.couchbase.client.core.env
Classes in com.couchbase.client.core.env with annotations of type Stability.Internal Modifier and Type Class Description classCouchbaseForkPoolThreadFactoryclassCouchbaseThreadFactorystatic classLoggerConfig.Defaultsstatic classLoggingMeterConfig.Defaultsstatic classOrphanReporterConfig.DefaultsclassOwnedSupplier<T>A special supplier which allows the SDK to distinguish passed in suppliers vs.interfaceRequestCallbackMarker interface for different callbacks in the request lifecycle.static classSecurityConfig.Defaultsstatic classSecurityConfig.InternalMethodsstatic classThresholdLoggingTracerConfig.Defaultsstatic classThresholdRequestTracerConfig.DefaultsDeprecated.Fields in com.couchbase.client.core.env with annotations of type Stability.Internal Modifier and Type Field Description static intIoEnvironment. DEFAULT_EVENT_LOOP_THREAD_COUNTMethods in com.couchbase.client.core.env with annotations of type Stability.Internal Modifier and Type Method Description SELFCoreEnvironment.Builder. addRequestCallback(RequestCallback requestCallback)Allows to configure callbacks across the lifetime of a request.default voidAuthenticator. applyTlsProperties(com.couchbase.client.core.deps.io.netty.handler.ssl.SslContextBuilder sslContextBuilder)The authenticator gets the chance to attach the client certificate to the ssl context if needed.default voidAuthenticator. 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.default voidAuthenticator. authKeyValueConnection(EndpointContext endpointContext, com.couchbase.client.core.deps.io.netty.channel.ChannelPipeline pipeline)Allows the authenticator to add KV handlers during connection bootstrap to perform authentication.IoEnvironmentIoEnvironment.Builder. build()LoggerConfig.BuilderLoggerConfig.Builder. customLogger(LoggingEventConsumer.Logger customLogger)Allows to specify a custom logger.LoggingEventConsumer.LoggerLoggerConfig. customLogger()Returns a custom logger if configured for testing.static LoggerConfig.BuilderLoggerConfig. customLogger(LoggingEventConsumer.Logger customLogger)Allows to specify a custom logger.ExecutorCoreEnvironment. executor()Returns the executor used to schedule non-reactive async tasks across the SDK.static ThresholdRequestTracerConfig.BuilderThresholdRequestTracerConfig.Builder. fromNewBuilder(ThresholdLoggingTracerConfig.Builder newBuilder)Deprecated.com.couchbase.client.core.deps.io.grpc.CallCredentialsAuthenticator. protostellarCallCredentials()com.couchbase.client.core.deps.io.grpc.CallCredentialsCertificateAuthenticator. protostellarCallCredentials()List<RequestCallback>CoreEnvironment. requestCallbacks()default booleanAuthenticator. supportsNonTls()If this authenticator supports non-encrypted connections.default booleanAuthenticator. supportsTls()If this authenticator supports encrypted connections.ThresholdLoggingTracerConfig.BuilderThresholdRequestTracerConfig.Builder. toNewBuillder()Deprecated.Converts this deprecated builder into its non-deprecated version.Constructors in com.couchbase.client.core.env with annotations of type Stability.Internal Constructor Description OwnedSupplier(T value) -
Uses of Stability.Internal in com.couchbase.client.core.error
Classes in com.couchbase.client.core.error with annotations of type Stability.Internal Modifier and Type Class Description classBucketNotFoundDuringLoadExceptionException raised if during config load the bucket is not found (think: http 404).classBucketNotReadyDuringLoadExceptionException raised if during config load the bucket is found, but not deemed ready yet.classDefaultErrorUtilclassHttpStatusCodeExceptionclassIndexesNotReadyExceptionclassRangeScanPartitionFailedExceptionThis is an internal exception used to signal exceptional states in the range scan orchestrator.classUnsupportedConfigMechanismExceptionMethods in com.couchbase.client.core.error with annotations of type Stability.Internal Modifier and Type Method Description byte[]AnalyticsException. content()static List<ErrorCodeAndMessage>ErrorCodeAndMessage. from(byte[] content)static List<ErrorCodeAndMessage>ErrorCodeAndMessage. fromJsonArray(byte[] jsonArray)booleanPreparedStatementFailureException. retryable()Constructors in com.couchbase.client.core.error with annotations of type Stability.Internal Constructor Description BucketExistsException(String bucketName, ErrorContext context)CollectionExistsException(String collectionName, ErrorContext context)InternalServerFailureException(Throwable cause, ErrorContext ctx)RequestCanceledException(String message, CancellationReason reason, Throwable cause, CancellationErrorContext ctx)ScopeExistsException(String scopeName, ErrorContext context)ScopeNotFoundException(String scopeName, ErrorContext context) -
Uses of Stability.Internal in com.couchbase.client.core.error.context
Methods in com.couchbase.client.core.error.context with annotations of type Stability.Internal Modifier and Type Method Description voidGenericErrorContext. put(String key, Object value) -
Uses of Stability.Internal in com.couchbase.client.core.error.subdoc
Classes in com.couchbase.client.core.error.subdoc with annotations of type Stability.Internal Modifier and Type Class Description classDocumentAlreadyAliveExceptionSub-Document exception thrown when ReviveDocument has been used with a document that already exists -
Uses of Stability.Internal in com.couchbase.client.core.error.transaction
Classes in com.couchbase.client.core.error.transaction with annotations of type Stability.Internal Modifier and Type Class Description classRetryTransactionExceptionIndicates that this transaction should be retried.classTransactionOperationFailedExceptionThis operation (such as a replace, get or insert) either failed or ambiguously succeeded.static classTransactionOperationFailedException.FinalErrorToRaiseMethods in com.couchbase.client.core.error.transaction with annotations of type Stability.Internal Modifier and Type Method Description booleanTransactionOperationFailedException. autoRollbackAttempt()booleanTransactionOperationFailedException. retryTransaction()TransactionOperationFailedException.FinalErrorToRaiseTransactionOperationFailedException. toRaise() -
Uses of Stability.Internal in com.couchbase.client.core.error.transaction.internal
Classes in com.couchbase.client.core.error.transaction.internal with annotations of type Stability.Internal Modifier and Type Class Description classCoreTransactionCommitAmbiguousExceptionThe transaction expired at the point of trying to commit it.classCoreTransactionExpiredExceptionThe transaction could not be fully completed in the configured timeout.classCoreTransactionFailedExceptionThe transaction failed to reach the Committed point.classForwardCompatibilityRequiresRetryExceptionclassRetryAtrCommitExceptionIndicates that committing the ATR entry should be retried.classRetryOperationExceptionIndicates that this operation should be retried.classTestFailAmbiguousExceptionUsed only in testing: injects an error that will be handled as FAIL_AMBIGUOUS.classTestFailHardExceptionUsed only in testing: injects an error that will be handled as FAIL_HARD.classTestFailOtherExceptionUsed only in testing: injects an error that will be handled as FAIL_OTHER.classTestFailTransientExceptionUsed only in testing: injects a FAIL_TRANSIENT error.classThreadStopRequestedExceptioninterfaceWrappedTransactionOperationFailedExceptionTransactionOperationFailedException is raised as an opaque signal that something went wrong with a transaction operation. -
Uses of Stability.Internal in com.couchbase.client.core.io.netty
Classes in com.couchbase.client.core.io.netty with annotations of type Stability.Internal Modifier and Type Class Description classSslHandlerFactoryThis factory createsSslHandlerbased on a given configuration.classTracingUtilsContains various utils to set attributes for tracing spans.Methods in com.couchbase.client.core.io.netty with annotations of type Stability.Internal Modifier and Type Method Description static List<String>SslHandlerFactory. defaultCiphers(boolean nativeTlsEnabled)Lists the default ciphers used for this platform.static booleanSslHandlerFactory. opensslAvailable()True if the native ssl transport is available, false otherwise. -
Uses of Stability.Internal in com.couchbase.client.core.io.netty.kv
Classes in com.couchbase.client.core.io.netty.kv with annotations of type Stability.Internal Modifier and Type Class Description classErrorMapLoadingHandlerThis handler tries to load the KV Error Map in a best effort manner.classFeatureNegotiatingHandlerTheFeatureNegotiatingHandleris responsible for sending the KV "hello" command and to handshake enabled features on both sides.classSaslListMechanismsHandlerTheSaslListMechanismsHandlerasks the server KV engine which SASL mechanism it supports.classSelectBucketHandlerTheSelectBucketHandleris responsible for, selecting the right bucket on this KV connection.classServerFeatureTheServerFeatureenum describes all the different negotiation modes between the server and the SDK.Methods in com.couchbase.client.core.io.netty.kv with annotations of type Stability.Internal Modifier and Type Method Description Set<SaslMechanism>SaslAuthenticationHandler. allowedMechanisms()Returns the allowed mechanisms for this handler, useful for testing assertions. -
Uses of Stability.Internal in com.couchbase.client.core.json
Classes in com.couchbase.client.core.json with annotations of type Stability.Internal Modifier and Type Class Description classMapperProvides utilities for encoding and decoding JSON data. -
Uses of Stability.Internal in com.couchbase.client.core.kv
Classes in com.couchbase.client.core.kv with annotations of type Stability.Internal Modifier and Type Interface Description interfaceCoreRangeScanPerforms a KV range scan to scan between twoCoreScanTerms.interfaceCoreSamplingScanPerforms a KV range scan using random sampling.interfaceCoreScanOptionsAllows to customize the various range and sampling scan options.classCoreScanTermA singleCoreScanTermidentifying either the point to scan from or to scan to.interfaceCoreScanTypeEither RangeScan or SampleScanclassRangeScanOrchestratorMain entry point from higher level languages to perform KV range scans. -
Uses of Stability.Internal in com.couchbase.client.core.manager
Classes in com.couchbase.client.core.manager with annotations of type Stability.Internal Modifier and Type Class Description classCoreAnalyticsLinkManagerclassCoreBucketManagerinterfaceCoreCollectionManagerclassCoreCollectionQueryIndexManagerclassCoreEventingFunctionManagerEncapsulates common functionality around the eventing management APIs.classCoreQueryIndexManagerclassCoreQueryTypeclassCoreViewIndexManager -
Uses of Stability.Internal in com.couchbase.client.core.msg
Classes in com.couchbase.client.core.msg with annotations of type Stability.Internal Modifier and Type Class Description classRequestTargetMethods in com.couchbase.client.core.msg with annotations of type Stability.Internal Modifier and Type Method Description RequestContextRequestContext. clientContext(Map<String,Object> clientContext)Allows to set a custom payload for this request.RequestContextRequestContext. dispatchLatency(long dispatchLatency)Allows to set the dispatch duration of the request.RequestContextRequestContext. encodeLatency(long encodeLatency)RequestContextRequestContext. incrementRetryAttempts(Duration lastRetryDuration, RetryReason reason)RequestContextRequestContext. lastChannelId(String lastChannelId)RequestContextRequestContext. lastDispatchedFrom(HostAndPort lastDispatchedFrom)RequestContextRequestContext. lastDispatchedTo(HostAndPort lastDispatchedTo)NodeIdentifierRequestContext. lastDispatchedToNode()RequestContextRequestContext. lastDispatchedToNode(NodeIdentifier lastDispatchedToNode)RequestContextRequestContext. logicallyComplete()RequestContextRequestContext. logicallyComplete(Throwable err)Signals that this request is completed fully, including streaming sections or logical sub-requests also being completed (i.e.RequestContextRequestContext. serverLatency(long serverLatency)Constructors in com.couchbase.client.core.msg with annotations of type Stability.Internal Constructor Description RequestContext(CoreContext ctx, Request<? extends Response> request)RequestContext(Core core, long contextId, CoreEnvironment environment, Authenticator authenticator, Request<? extends Response> request) -
Uses of Stability.Internal in com.couchbase.client.core.msg.kv
Classes in com.couchbase.client.core.msg.kv with annotations of type Stability.Internal Modifier and Type Class Description classGetResponseRepresents the response of aGetRequest.classMutationTokenAggregatorHelper class that language-specific clients may use to implementMutationState.classRangeScanCancelRequestclassRangeScanCancelResponseclassSubDocumentFieldMethods in com.couchbase.client.core.msg.kv with annotations of type Stability.Internal Modifier and Type Method Description byteDurabilityLevel. code()static DurabilityLevelDurabilityLevel. decodeFromManagementApi(String input)Decodes the string representation of the durability level from the management API into an enum.StringDurabilityLevel. encodeForManagementApi()Encodes theDurabilityLevelso that the management API understands it. -
Uses of Stability.Internal in com.couchbase.client.core.msg.manager
Methods in com.couchbase.client.core.msg.manager with annotations of type Stability.Internal Modifier and Type Method Description voidBucketConfigStreamingResponse. completeStream()voidBucketConfigStreamingResponse. failStream(Throwable e)voidBucketConfigStreamingResponse. pushConfig(String config) -
Uses of Stability.Internal in com.couchbase.client.core.msg.query
Classes in com.couchbase.client.core.msg.query with annotations of type Stability.Internal Modifier and Type Class Description classPreparedStatementPrepared statement cache entry.Methods in com.couchbase.client.core.msg.query with annotations of type Stability.Internal Modifier and Type Method Description QueryRequestQueryRequest. toExecuteRequest(String preparedStatementName, String encodedPlan, RequestTracer requestTracer)Returns a copy of this request tailored to execute a prepared statement.QueryRequestQueryRequest. toPrepareRequest(boolean autoExecute, RequestTracer requestTracer)Returns a new request that creates a prepared statement using this request as a template. -
Uses of Stability.Internal in com.couchbase.client.core.node
Classes in com.couchbase.client.core.node with annotations of type Stability.Internal Modifier and Type Interface Description interfaceMemcachedHashingStrategyThis interface defines different hashing strategies used for ketama hashing in memcached buckets.Methods in com.couchbase.client.core.node with annotations of type Stability.Internal Modifier and Type Method Description Stream<InternalEndpointDiagnostics>Node. internalDiagnostics() -
Uses of Stability.Internal in com.couchbase.client.core.protostellar
Classes in com.couchbase.client.core.protostellar with annotations of type Stability.Internal Modifier and Type Class Description classCoreProtostellarErrorHandlingUtilclassCoreProtostellarUtilclassProtostellarCollectionManagerRequest<TGrpcRequest>classProtostellarContextclassProtostellarKeyValueRequest<TGrpcRequest>classProtostellarRequest<TGrpcRequest>Holds onto a GRPC request, along with pertaining mutable and immutable state bound to the request's lifetime.classProtostellarStatsCollectorConstructors in com.couchbase.client.core.protostellar with annotations of type Stability.Internal Constructor Description ProtostellarBaseRequest(CoreProtostellar core, ProtostellarRequest<?> request) -
Uses of Stability.Internal in com.couchbase.client.core.protostellar.kv
Classes in com.couchbase.client.core.protostellar.kv with annotations of type Stability.Internal Modifier and Type Class Description classCoreProtostellarKeyValueRequestsFor creating Protostellar GRPC KV requests.classCoreProtostellarKeyValueResponsesFor converting Protostellar GRPC KV responses.classCoreProtoStellarKvBinaryRequestsclassCoreProtostellarKvBinaryResponsesFor converting Protostellar GRPC KV responses.classProtostellarCoreKvBinaryOpsclassProtostellarCoreKvOps -
Uses of Stability.Internal in com.couchbase.client.core.protostellar.manager
Classes in com.couchbase.client.core.protostellar.manager with annotations of type Stability.Internal Modifier and Type Class Description classCoreProtostellarCollectionManagerRequestsFor creating Protostellar GRPC requests.classCoreProtostellarCollectionManagerResponsesFor converting Protostellar GRPC responses.classProtostellarCoreCollectionManagerOps -
Uses of Stability.Internal in com.couchbase.client.core.protostellar.query
Classes in com.couchbase.client.core.protostellar.query with annotations of type Stability.Internal Modifier and Type Class Description classProtostellarCoreQueryMetaDataclassProtostellarCoreQueryMetricsclassProtostellarCoreQueryOpsclassProtostellarCoreReactiveQueryResult -
Uses of Stability.Internal in com.couchbase.client.core.protostellar.search
Classes in com.couchbase.client.core.protostellar.search with annotations of type Stability.Internal Modifier and Type Class Description classProtostellarCoreSearchOps -
Uses of Stability.Internal in com.couchbase.client.core.retry
Classes in com.couchbase.client.core.retry with annotations of type Stability.Internal Modifier and Type Class Description classAuthErrorDeciderclassFailFastRetryStrategyAn internal strategy to fail fast any request that goes through it.classProtostellarRequestBehaviourDetermines what to do with a request.classRetryOrchestratorTheRetryOrchestratoris responsible for checking if a request is eligible for retry and if so dispatch it properly and update state.classRetryOrchestratorProtostellarMethods in com.couchbase.client.core.retry with annotations of type Stability.Internal Modifier and Type Method Description static DurationRetryOrchestrator. capDuration(Duration uncappedDuration, Request<? extends Response> request)Calculates the potentially capped retry duration so we do not schedule a longer retry than the actual total timeout.static DurationRetryOrchestratorProtostellar. capDuration(Duration uncappedDuration, ProtostellarRequest<?> request)static DurationRetryOrchestrator. controlledBackoff(int retryAttempt)Helper method for a simple, bounded controlled backoff for the "always retry" handler so that it doesn't spam quickly all the time. -
Uses of Stability.Internal in com.couchbase.client.core.service
Methods in com.couchbase.client.core.service with annotations of type Stability.Internal Modifier and Type Method Description Stream<InternalEndpointDiagnostics>Service. internalDiagnostics() -
Uses of Stability.Internal in com.couchbase.client.core.service.kv
Classes in com.couchbase.client.core.service.kv with annotations of type Stability.Internal Modifier and Type Class Description classReplicaHelper -
Uses of Stability.Internal in com.couchbase.client.core.transaction
Classes in com.couchbase.client.core.transaction with annotations of type Stability.Internal Modifier and Type Class Description classAccessorUtilclassCoreTransactionAttemptContextProvides methods to allow an application's transaction logic to read, mutate, insert and delete documents, as well as commit or rollback the transaction.classCoreTransactionContextStores some context related to a transaction.classCoreTransactionGetResultRepresents a value fetched from Couchbase, along with additional transactional metadata.classCoreTransactionKeyspaceA keyspace represents a triple of bucket, scope and collection.classCoreTransactionResultclassCoreTransactionsReactiveMethods in com.couchbase.client.core.transaction with annotations of type Stability.Internal Modifier and Type Method Description static CoreTransactionGetResultCoreTransactionGetResult. createFrom(CollectionIdentifier collection, String documentId, SubdocGetResponse doc)static CoreTransactionGetResultCoreTransactionGetResult. createFrom(CoreTransactionGetResult doc, byte[] content)Constructors in com.couchbase.client.core.transaction with annotations of type Stability.Internal Constructor Description CoreTransactionGetResult(String id, byte[] content, long cas, CollectionIdentifier collection, TransactionLinks links, Optional<DocumentMetadata> documentMetadata, Optional<com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode> txnMeta, Optional<String> crc32OfGet) -
Uses of Stability.Internal in com.couchbase.client.core.transaction.atr
Classes in com.couchbase.client.core.transaction.atr with annotations of type Stability.Internal Modifier and Type Class Description classActiveTransactionRecordIds -
Uses of Stability.Internal in com.couchbase.client.core.transaction.cleanup
Classes in com.couchbase.client.core.transaction.cleanup with annotations of type Stability.Internal Modifier and Type Class Description classActiveTransactionRecordStatsSimple data class, so all fields are public.classCleanerFactoryUsed for testing/mocking.classCleanerHooksclassCleanerMockFactoryUsed for testing/mocking.classCleanupRequestclassClientRecordRepresents the ClientRecord doc, a single document that contains an entry for every client (app) current participating in the cleanup of 'lost' transactions.classClientRecordDetailsUtility class to store the result of a client checking/updating the Client Record doc.classClientRecordFactoryUsed for testing/mocking.classClientRecordFactoryMockUsed for testing/mocking.classCoreTransactionsCleanupOwns cleanup threads.classLostCleanupDistributedRuns the algorithm to find 'lost' transactions, distributing the work between clients.classTransactionsCleanerHandles cleaning up expired/lost transactions. -
Uses of Stability.Internal in com.couchbase.client.core.transaction.components
Classes in com.couchbase.client.core.transaction.components with annotations of type Stability.Internal Modifier and Type Class Description classActiveTransactionRecordstatic classActiveTransactionRecord.ParsedHLCclassActiveTransactionRecordEntryclassActiveTransactionRecordsclassActiveTransactionRecordUtilclassCasModeMetadata related to the CAS.classDocRecordclassDocumentGetterResponsible for doing transaction-aware get()s.classDocumentMetadataStores some $document metadata from when the document is fetchedclassDurabilityLevelUtilclassOperationTypesclassTransactionLinksStores the transaction links stored on each document in a transactionMethods in com.couchbase.client.core.transaction.components with annotations of type Stability.Internal Modifier and Type Method Description Optional<String>TransactionLinks. stagedContent() -
Uses of Stability.Internal in com.couchbase.client.core.transaction.config
Classes in com.couchbase.client.core.transaction.config with annotations of type Stability.Internal Modifier and Type Class Description classCoreMergedTransactionConfigMergesCoreTransactionOptionsandCoreTransactionsConfig.classCoreSingleQueryTransactionOptionsclassCoreTransactionOptionsTunables for an individual transaction.classCoreTransactionsCleanupConfigclassCoreTransactionsConfigMethods in com.couchbase.client.core.transaction.config with annotations of type Stability.Internal Modifier and Type Method Description static CoreTransactionsCleanupConfigCoreTransactionsCleanupConfig. createDefault()static CoreTransactionsConfigCoreTransactionsConfig. createDefault() -
Uses of Stability.Internal in com.couchbase.client.core.transaction.context
Classes in com.couchbase.client.core.transaction.context with annotations of type Stability.Internal Modifier and Type Class Description classCoreTransactionsContextHolds transactions state that has the same lifetime as a Core.classCoreTransactionsCounters -
Uses of Stability.Internal in com.couchbase.client.core.transaction.error.internal
Classes in com.couchbase.client.core.transaction.error.internal with annotations of type Stability.Internal Modifier and Type Class Description classErrorClass -
Uses of Stability.Internal in com.couchbase.client.core.transaction.forwards
Classes in com.couchbase.client.core.transaction.forwards with annotations of type Stability.Internal Modifier and Type Class Description classExtensionAll protocol extensions known about by this implementation.classForwardCompatibilityA mechanism to help ensure that older clients can be prevented from interacting with transactions created by future clients that they do not know how to process.classForwardCompatibilityStagePoints in the protocol where forward compatibility can be checked.classSupportedDefines what is support by this implementation (extensions and protocol version). -
Uses of Stability.Internal in com.couchbase.client.core.transaction.log
Classes in com.couchbase.client.core.transaction.log with annotations of type Stability.Internal Modifier and Type Class Description classCoreTransactionLoggerA logger optimized for logging transactions-specific info.classSimpleEventBusLoggerSimple wrapper around logging to the Couchbase event bus. -
Uses of Stability.Internal in com.couchbase.client.core.transaction.support
Classes in com.couchbase.client.core.transaction.support with annotations of type Stability.Internal Modifier and Type Class Description classAttemptStateThe possible states for a transaction attempt.classOptionsUtilclassSpanWrapperWraps a RequestSpan, with the value-add that it automatically records how long the operation took for transaction logging.classSpanWrapperUtilclassStagedMutationclassStagedMutationTypeclassTransactionAttemptContextFactoryclassTransactionFields -
Uses of Stability.Internal in com.couchbase.client.core.transaction.threadlocal
Classes in com.couchbase.client.core.transaction.threadlocal with annotations of type Stability.Internal Modifier and Type Class Description classTransactionMarkerUsed to indicate that we are inside a transaction, and placed in ThreadLocalStorage (or reactive context).classTransactionMarkerOwnerUsed to manage ThreadLocalStorage (or reactive context) of TransactionMarker. -
Uses of Stability.Internal in com.couchbase.client.core.transaction.util
Classes in com.couchbase.client.core.transaction.util with annotations of type Stability.Internal Modifier and Type Class Description classCoreTransactionAttemptContextHooksCan be used for testing transactions, but is for internal use only.classCoreTransactionsSchedulersMainly to aid debugging, transactions use their own pool of schedulers.classDebugUtilclassLockTokensclassLogDeferDocIdclassLogDeferThrowableclassMeteringUnitsTracks read and write units used.static classMeteringUnits.MeteringUnitsBuilderclassMonoBridge<T>Protects against concurrent op cancellation.classQueryUtilclassReactiveLockA mutex pessimistic lock, compatible with reactive.classReactiveWaitGroupProvides locking functionality in line with Go's WaitGroups, in a reactive compatible way.classTestTransactionAttemptContextFactoryCan be used for testing transactions, but is for internal use only.classTransactionKVHandlerTransactions does a lot of KV work from core-io.interfaceTriFunction<T,U,V,R> -
Uses of Stability.Internal in com.couchbase.client.core.util
Classes in com.couchbase.client.core.util with annotations of type Stability.Internal Modifier and Type Class Description classBucketConfigUtilDefines helpful routines for working with bucket configs.classCbAnnotationsclassCbCollectionsclassCbObjectsclassCbPreconditionsclassCbStringsclassCbThrowablesstatic classConnectionString.PortTypeclassConnectionStringUtilContains various helper methods when dealing with the connection string.classConsistencyUtilHelper routines for tests to wait for all nodes to have a consistent view of a resource.classCoreAsyncUtilsclassCoreIdGeneratorclassCouchbaseBlockHoundIntegrationIntegrates the Couchbase infrastructure withBlockHound.classDeadlineclassDnsSrvThe default implementation for performing DNS SRV lookups.classEnumLookupTable<E extends Enum<E>>Provides efficient lookup for enums whose values are associated with small integers.classNanoTimestampclassNetworkAddressA convenient wrapper class around network primitives in Java.classProtostellarUtilclassUrlQueryStringBuilderMethods in com.couchbase.client.core.util with annotations of type Stability.Internal Modifier and Type Method Description static NetworkAddressNetworkAddress. create(String input)Creates a newNetworkAddressfrom either a hostname or ip address literal.static List<String>ConnectionStringUtil. fromDnsSrvOrThrowIfTlsRequired(String serviceName, boolean secure)StringNetworkAddress. hostname()Returns the hostname for this network address.ConnectionStringConnectionString. withParams(Map<String,String> params)ConnectionStringConnectionString. withScheme(ConnectionString.Scheme scheme)
-