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 Core
CoreContext. core()
Returns the core to which this context belongs.static Core
Core. create(CoreEnvironment environment, Authenticator authenticator, Set<SeedNode> seedNodes)
Creates a newCore
with the given environment.Methods in com.couchbase.client.core with parameters of type Core Modifier and Type Method Description void
Timer. 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.config
Constructors in com.couchbase.client.core.config with parameters of type Core Constructor Description DefaultConfigurationProvider(Core core, Set<SeedNode> seedNodes)
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 Core
BaseBucketLoader. core()
Returns the attachedCore
to 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.manager
Fields in com.couchbase.client.core.manager declared as Core Modifier and Type Field Description protected Core
CoreViewIndexManager. core
Constructors in com.couchbase.client.core.manager with parameters of type Core Constructor Description CoreAnalyticsLinkManager(Core core)
CoreBucketManager(Core core)
CoreCollectionManager(Core core, String bucketName)
CoreEventingFunctionManager(Core core)
CoreViewIndexManager(Core core, String bucket)
-
Uses of Core in com.couchbase.client.core.msg.query
Constructors in com.couchbase.client.core.msg.query with parameters of type Core Constructor Description CoreQueryAccessor(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.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)
static Mono<ReplicaHelper.GetReplicaResponse>
ReplicaHelper. getAnyReplicaReactive(Core core, CollectionIdentifier collectionIdentifier, String documentId, Duration timeout, RetryStrategy retryStrategy, Map<String,Object> clientContext, RequestSpan parentSpan)
-
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.
-