Uses of Enum
com.couchbase.client.core.api.kv.CoreReadPreference
Packages that use CoreReadPreference
Package
Description
-
Uses of CoreReadPreference in com.couchbase.client.core.api.kv
Methods in com.couchbase.client.core.api.kv that return CoreReadPreferenceModifier and TypeMethodDescriptionstatic CoreReadPreferenceReturns the enum constant of this type with the specified name.static CoreReadPreference[]CoreReadPreference.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.couchbase.client.core.api.kv with parameters of type CoreReadPreferenceModifier and TypeMethodDescriptionreactor.core.publisher.Flux<CoreGetResult> CoreKvOps.getAllReplicasReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) reactor.core.publisher.Mono<CoreGetResult> CoreKvOps.getAnyReplicaReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) reactor.core.publisher.Flux<CoreSubdocGetResult> CoreKvOps.subdocGetAllReplicasReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) reactor.core.publisher.Mono<CoreSubdocGetResult> CoreKvOps.subdocGetAnyReplicaReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) -
Uses of CoreReadPreference in com.couchbase.client.core.classic.kv
Methods in com.couchbase.client.core.classic.kv with parameters of type CoreReadPreferenceModifier and TypeMethodDescriptionreactor.core.publisher.Flux<CoreGetResult> ClassicCoreKvOps.getAllReplicasReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) reactor.core.publisher.Mono<CoreGetResult> ClassicCoreKvOps.getAnyReplicaReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) reactor.core.publisher.Flux<CoreSubdocGetResult> ClassicCoreKvOps.subdocGetAllReplicasReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) reactor.core.publisher.Mono<CoreSubdocGetResult> ClassicCoreKvOps.subdocGetAnyReplicaReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) -
Uses of CoreReadPreference in com.couchbase.client.core.protostellar.kv
Methods in com.couchbase.client.core.protostellar.kv with parameters of type CoreReadPreferenceModifier and TypeMethodDescriptionreactor.core.publisher.Flux<CoreGetResult> ProtostellarCoreKvOps.getAllReplicasReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) reactor.core.publisher.Mono<CoreGetResult> ProtostellarCoreKvOps.getAnyReplicaReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) reactor.core.publisher.Flux<CoreSubdocGetResult> ProtostellarCoreKvOps.subdocGetAllReplicasReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) reactor.core.publisher.Mono<CoreSubdocGetResult> ProtostellarCoreKvOps.subdocGetAnyReplicaReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) -
Uses of CoreReadPreference in com.couchbase.client.core.service.kv
Methods in com.couchbase.client.core.service.kv with parameters of type CoreReadPreferenceModifier and TypeMethodDescriptionstatic <R> CompletableFuture<List<CompletableFuture<R>>> ReplicaHelper.getAllReplicasAsync(Core core, CollectionIdentifier collectionIdentifier, String documentId, Duration timeout, RetryStrategy retryStrategy, Map<String, Object> clientContext, RequestSpan parentSpan, CoreReadPreference readPreference, 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 reactor.core.publisher.Flux<ReplicaHelper.GetReplicaResponse> ReplicaHelper.getAllReplicasReactive(Core core, CollectionIdentifier collectionIdentifier, String documentId, Duration timeout, RetryStrategy retryStrategy, Map<String, Object> clientContext, RequestSpan parentSpan, CoreReadPreference readPreference) static reactor.core.publisher.Mono<List<GetRequest>> ReplicaHelper.getAllReplicasRequests(Core core, CollectionIdentifier collectionIdentifier, String documentId, Map<String, Object> clientContext, RetryStrategy retryStrategy, Duration timeout, RequestSpan parent, CoreReadPreference readPreference) 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, CoreReadPreference readPreference, Function<ReplicaHelper.GetReplicaResponse, R> responseMapper) static <R> CompletableFuture<List<CompletableFuture<R>>> ReplicaHelper.lookupInAllReplicasAsync(Core core, CollectionIdentifier collectionIdentifier, String documentId, List<CoreSubdocGetCommand> commands, Duration timeout, RetryStrategy retryStrategy, Map<String, Object> clientContext, RequestSpan parentSpan, CoreReadPreference readPreference, byte flags, Function<CoreSubdocGetResult, 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 reactor.core.publisher.Flux<CoreSubdocGetResult> ReplicaHelper.lookupInAllReplicasReactive(Core core, CollectionIdentifier collectionIdentifier, String documentId, List<CoreSubdocGetCommand> commands, Duration timeout, RetryStrategy retryStrategy, Map<String, Object> clientContext, RequestSpan parentSpan, CoreReadPreference readPreference, byte flags) static reactor.core.publisher.Mono<List<SubdocGetRequest>> ReplicaHelper.lookupInAllReplicasRequests(Core core, CollectionIdentifier collectionIdentifier, String documentId, List<CoreSubdocGetCommand> commands, Map<String, Object> clientContext, RetryStrategy retryStrategy, Duration timeout, RequestSpan parent, CoreReadPreference readPreference, byte flags) Helper method to assemble a stream of requests to the active and all replicasstatic <R> CompletableFuture<R> ReplicaHelper.lookupInAnyReplicaAsync(Core core, CollectionIdentifier collectionIdentifier, String documentId, List<CoreSubdocGetCommand> commands, Duration timeout, RetryStrategy retryStrategy, Map<String, Object> clientContext, RequestSpan parentSpan, CoreReadPreference readPreference, byte flags, Function<CoreSubdocGetResult, R> responseMapper) Constructors in com.couchbase.client.core.service.kv with parameters of type CoreReadPreferenceModifierConstructorDescriptionNodeIndexCalculator(CoreReadPreference readPreference, CouchbaseBucketConfig topology, CoreContext coreContext)