Uses of Class
com.couchbase.client.core.Core
-
-
Uses of Core in com.couchbase.client.core
Methods in com.couchbase.client.core that return Core Modifier and Type Method Description CoreCoreContext. core()Returns the core to which this context belongs.static CoreCore. create(CoreEnvironment environment, Authenticator authenticator, ConnectionString connectionString)static CoreCore. create(CoreEnvironment environment, Authenticator authenticator, Set<SeedNode> seedNodes)Deprecated.Please usecreate(CoreEnvironment, Authenticator, ConnectionString)instead.Methods in com.couchbase.client.core with parameters of type Core Modifier and Type Method Description voidTimer. scheduleForRetry(Core core, Request<? extends Response> request, Duration runAfter)Schedules a request to be retried after the given duration.Constructors in com.couchbase.client.core with parameters of type Core Constructor Description CoreContext(Core core, long id, CoreEnvironment env, Authenticator authenticator)Creates a newCoreContext. -
Uses of Core in com.couchbase.client.core.api
Methods in com.couchbase.client.core.api that return Core Modifier and Type Method Description default CoreCoreCouchbaseOps. asCore()Deprecated.This method goes away after the Core / Protostellar refactor. -
Uses of Core in com.couchbase.client.core.api.manager.search
Constructors in com.couchbase.client.core.api.manager.search with parameters of type Core Constructor Description ClassicCoreBaseSearchIndexManager(Core core)ClassicCoreClusterSearchIndexManager(Core core)ClassicCoreScopeSearchIndexManager(Core core, CoreBucketAndScope scope) -
Uses of Core in com.couchbase.client.core.api.search
Constructors in com.couchbase.client.core.api.search with parameters of type Core Constructor Description ClassicCoreSearchOps(Core core, CoreBucketAndScope scope) -
Uses of Core in com.couchbase.client.core.classic
Methods in com.couchbase.client.core.classic with parameters of type Core Modifier and Type Method Description static <T extends CoreMutationResult>
CompletableFuture<T>ClassicHelper. maybeWrapWithLegacyDurability(CompletableFuture<T> input, String key, CoreDurability durability, Core core, KeyValueRequest<?> request)Helper method to wrap a mutation result to perform legacy durability requirements if needed. -
Uses of Core in com.couchbase.client.core.classic.kv
Methods in com.couchbase.client.core.classic.kv with parameters of type Core Modifier and Type Method Description static CompletableFuture<CoreMutationResult>BinaryAccessor. append(Core core, AppendRequest request, String key, CoreKeyspace keyspace, CoreDurability durability)static CompletableFuture<CoreCounterResult>BinaryAccessor. decrement(Core core, DecrementRequest request, String id, CoreKeyspace keyspace, CoreDurability durability)static CompletableFuture<CoreCounterResult>BinaryAccessor. increment(Core core, IncrementRequest request, String id, CoreKeyspace keyspace, CoreDurability durability)static CompletableFuture<CoreMutationResult>BinaryAccessor. prepend(Core core, PrependRequest request, String key, CoreKeyspace keyspace, CoreDurability durability)Constructors in com.couchbase.client.core.classic.kv with parameters of type Core Constructor Description ClassicCoreKvBinaryOps(Core core, CoreKeyspace keyspace)ClassicCoreKvOps(Core core, CoreKeyspace keyspace) -
Uses of Core in com.couchbase.client.core.classic.manager
Constructors in com.couchbase.client.core.classic.manager with parameters of type Core Constructor Description ClassicCoreCollectionManagerOps(Core core, String bucketName) -
Uses of Core in com.couchbase.client.core.classic.query
Constructors in com.couchbase.client.core.classic.query with parameters of type Core Constructor Description ClassicCoreQueryOps(Core core)EnhancedPreparedStatementStrategy(Core core, int cacheSize)LegacyPreparedStatementStrategy(Core core, int cacheSize)PreparedStatementStrategy(Core core, int cacheSize) -
Uses of Core in com.couchbase.client.core.config
Constructors in com.couchbase.client.core.config with parameters of type Core Constructor Description DefaultConfigurationProvider(Core core, Set<SeedNode> seedNodes)DefaultConfigurationProvider(Core core, Set<SeedNode> seedNodes, ConnectionString connectionString)Creates a new configuration provider. -
Uses of Core in com.couchbase.client.core.config.loader
Methods in com.couchbase.client.core.config.loader that return Core Modifier and Type Method Description protected CoreBaseBucketLoader. core()Returns the attachedCoreto be used by implementations.Constructors in com.couchbase.client.core.config.loader with parameters of type Core Constructor Description ClusterManagerBucketLoader(Core core)GlobalLoader(Core core)KeyValueBucketLoader(Core core) -
Uses of Core in com.couchbase.client.core.config.refresher
Constructors in com.couchbase.client.core.config.refresher with parameters of type Core Constructor Description ClusterManagerBucketRefresher(ConfigurationProvider provider, Core core)GlobalRefresher(ConfigurationProvider provider, Core core)Creates a new global refresher.KeyValueBucketRefresher(ConfigurationProvider provider, Core core) -
Uses of Core in com.couchbase.client.core.diagnostics
Methods in com.couchbase.client.core.diagnostics with parameters of type Core 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) -
Uses of Core in com.couchbase.client.core.endpoint.http
Methods in com.couchbase.client.core.endpoint.http with parameters of type Core Modifier and Type Method Description CompletableFuture<CoreHttpResponse>CoreHttpRequest.Builder. exec(Core core)CompletableFuture<CoreHttpResponse>CoreHttpRequest. exec(Core core)Constructors in com.couchbase.client.core.endpoint.http with parameters of type Core Constructor Description CoreHttpClient(Core core, RequestTarget target) -
Uses of Core in com.couchbase.client.core.kv
Constructors in com.couchbase.client.core.kv with parameters of type Core Constructor Description RangeScanOrchestrator(Core core, CollectionIdentifier collectionIdentifier)Creates a newRangeScanOrchestratorwhich can be shared across calls. -
Uses of Core in com.couchbase.client.core.manager
Fields in com.couchbase.client.core.manager declared as Core Modifier and Type Field Description protected CoreCoreViewIndexManager. coreConstructors in com.couchbase.client.core.manager with parameters of type Core Constructor Description CoreAnalyticsLinkManager(Core core)CoreBucketManager(Core core)CoreEventingFunctionManager(Core core)CoreViewIndexManager(Core core, String bucket) -
Uses of Core in com.couchbase.client.core.msg
Constructors in com.couchbase.client.core.msg with parameters of type Core Constructor Description RequestContext(Core core, long contextId, CoreEnvironment environment, Authenticator authenticator, Request<? extends Response> request) -
Uses of Core in com.couchbase.client.core.service.kv
Methods in com.couchbase.client.core.service.kv with parameters of type Core Modifier and Type Method Description static <R> CompletableFuture<List<CompletableFuture<R>>>ReplicaHelper. getAllReplicasAsync(Core core, CollectionIdentifier collectionIdentifier, String documentId, Duration timeout, RetryStrategy retryStrategy, Map<String,Object> clientContext, RequestSpan parentSpan, Function<ReplicaHelper.GetReplicaResponse,R> responseMapper)Reads from replicas or the active node based on the options and returns the results as a list of futures that might complete or fail.static Flux<ReplicaHelper.GetReplicaResponse>ReplicaHelper. getAllReplicasReactive(Core core, CollectionIdentifier collectionIdentifier, String documentId, Duration timeout, RetryStrategy retryStrategy, Map<String,Object> clientContext, RequestSpan parentSpan)static CompletableFuture<Stream<GetRequest>>ReplicaHelper. getAllReplicasRequests(Core core, CollectionIdentifier collectionIdentifier, String documentId, Map<String,Object> clientContext, RetryStrategy retryStrategy, Duration timeout, RequestSpan parent)Helper method to assemble a stream of requests to the active and all replicasstatic <R> CompletableFuture<R>ReplicaHelper. getAnyReplicaAsync(Core core, CollectionIdentifier collectionIdentifier, String documentId, Duration timeout, RetryStrategy retryStrategy, Map<String,Object> clientContext, RequestSpan parentSpan, Function<ReplicaHelper.GetReplicaResponse,R> responseMapper) -
Uses of Core in com.couchbase.client.core.transaction
Methods in com.couchbase.client.core.transaction that return Core Modifier and Type Method Description CoreCoreTransactionAttemptContext. core()CoreCoreTransactionsReactive. core()Constructors in com.couchbase.client.core.transaction with parameters of type Core Constructor Description CoreTransactionAttemptContext(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan, CoreTransactionAttemptContextHooks hooks)CoreTransactionsReactive(Core core, CoreTransactionsConfig config) -
Uses of Core in com.couchbase.client.core.transaction.cleanup
Methods in com.couchbase.client.core.transaction.cleanup with parameters of type Core Modifier and Type Method Description TransactionsCleanerCleanerFactory. create(Core core)TransactionsCleanerCleanerMockFactory. create(Core core)ClientRecordClientRecordFactory. create(Core core)ClientRecordClientRecordFactoryMock. create(Core core)Constructors in com.couchbase.client.core.transaction.cleanup with parameters of type Core Constructor Description ClientRecord(Core core)CoreTransactionsCleanup(Core core, CoreTransactionsConfig config)LostCleanupDistributed(Core core, CoreTransactionsConfig config, Supplier<TransactionsCleaner> cleanerSupplier)TransactionsCleaner(Core core, CleanerHooks hooks) -
Uses of Core in com.couchbase.client.core.transaction.components
-
Uses of Core in com.couchbase.client.core.transaction.forwards
Methods in com.couchbase.client.core.transaction.forwards with parameters of type Core Modifier and Type Method Description static Mono<Void>ForwardCompatibility. check(Core core, ForwardCompatibilityStage fc, Optional<ForwardCompatibility> forwardCompatibility, CoreTransactionLogger logger, Supported supported)Returns empty if it's ok to continue, otherwise an error: -
Uses of Core in com.couchbase.client.core.transaction.support
Methods in com.couchbase.client.core.transaction.support with parameters of type Core Modifier and Type Method Description CoreTransactionAttemptContextTransactionAttemptContextFactory. create(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan)static DurationOptionsUtil. kvTimeoutMutating(Core core)The timeout to use for important mutating KV operations.static DurationOptionsUtil. kvTimeoutNonMutating(Core core)The timeout to use for non-mutating KV operations (or mutating operations that aren't important enough to justify durability.) -
Uses of Core in com.couchbase.client.core.transaction.util
Methods in com.couchbase.client.core.transaction.util with parameters of type Core Modifier and Type Method Description CoreTransactionAttemptContextTestTransactionAttemptContextFactory. create(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan)static Mono<InsertResponse>TransactionKVHandler. insert(Core core, CollectionIdentifier collectionIdentifier, String id, byte[] transcodedContent, Duration timeout, Optional<DurabilityLevel> durabilityLevel, Map<String,Object> clientContext, SpanWrapper pspan)static Mono<SubdocGetResponse>TransactionKVHandler. lookupIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean accessDeleted, Map<String,Object> clientContext, SpanWrapper pspan, List<SubdocGetRequest.Command> commands)static Mono<SubdocMutateResponse>TransactionKVHandler. mutateIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean insertDocument, boolean upsertDocument, boolean reviveDocument, boolean accessDeleted, boolean createAsDeleted, long cas, Optional<DurabilityLevel> durabilityLevel, Map<String,Object> clientContext, SpanWrapper span, List<SubdocMutateRequest.Command> commands)static Mono<SubdocMutateResponse>TransactionKVHandler. mutateIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean insertDocument, boolean upsertDocument, boolean reviveDocument, boolean accessDeleted, boolean createAsDeleted, long cas, Optional<DurabilityLevel> durabilityLevel, Map<String,Object> clientContext, SpanWrapper pspan, List<SubdocMutateRequest.Command> commands, CoreTransactionLogger logger)static Mono<RemoveResponse>TransactionKVHandler. remove(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, long cas, Optional<DurabilityLevel> durabilityLevel, Map<String,Object> clientContext, SpanWrapper pspan) -
Uses of Core in com.couchbase.client.core.util
Methods in com.couchbase.client.core.util with parameters of type Core Modifier and Type Method Description static Mono<BucketConfig>BucketConfigUtil. waitForBucketConfig(Core core, String bucketName, Duration timeout)A bucket config can be null while the bucket has not been opened.static voidConsistencyUtil. waitUntilBucketDropped(Core core, String name)static voidConsistencyUtil. waitUntilBucketPresent(Core core, String name)static voidConsistencyUtil. waitUntilCollectionDropped(Core core, String bucketName, String scopeName, String collectionName)static voidConsistencyUtil. waitUntilCollectionPresent(Core core, String bucketName, String scopeName, String collectionName)static voidConsistencyUtil. waitUntilDesignDocumentDropped(Core core, String bucketName, String designDocument)static voidConsistencyUtil. waitUntilDesignDocumentPresent(Core core, String bucketName, String designDocument)static voidConsistencyUtil. waitUntilGroupDropped(Core core, String name)static voidConsistencyUtil. waitUntilGroupPresent(Core core, String name)static voidConsistencyUtil. waitUntilScopeDropped(Core core, String bucketName, String scopeName)static voidConsistencyUtil. waitUntilScopePresent(Core core, String bucketName, String scopeName)static voidConsistencyUtil. waitUntilSearchIndexDropped(Core core, String indexName)static voidConsistencyUtil. waitUntilSearchIndexPresent(Core core, String indexName)static voidConsistencyUtil. waitUntilUserDropped(Core core, String domain, String name)static voidConsistencyUtil. waitUntilUserPresent(Core core, String domain, String name)static voidConsistencyUtil. waitUntilViewDropped(Core core, String bucketName, String designDocument, String viewName)static voidConsistencyUtil. waitUntilViewPresent(Core core, String bucketName, String designDocument, String viewName)
-