Uses of Class
com.couchbase.client.core.api.kv.CoreAsyncResponse
Packages that use CoreAsyncResponse
Package
Description
-
Uses of CoreAsyncResponse in com.couchbase.client.core.api.kv
Methods in com.couchbase.client.core.api.kv that return CoreAsyncResponseModifier and TypeMethodDescriptionCoreKvBinaryOps.appendAsync
(String id, byte[] content, CoreCommonOptions options, long cas, CoreDurability durability) CoreKvBinaryOps.decrementAsync
(String id, CoreCommonOptions options, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) CoreKvOps.existsAsync
(CoreCommonOptions common, String key) <U> CoreAsyncResponse<U>
CoreAsyncResponse.flatMap
(Function<? super T, ? extends CoreAsyncResponse<U>> fn) CoreKvOps.getAndLockAsync
(CoreCommonOptions common, String key, Duration lockTime) CoreKvOps.getAndTouchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) CoreKvOps.getAsync
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) CoreKvBinaryOps.incrementAsync
(String id, CoreCommonOptions options, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) CoreKvOps.insertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) <U> CoreAsyncResponse<U>
CoreKvBinaryOps.prependAsync
(String id, byte[] content, CoreCommonOptions options, long cas, CoreDurability durabilityLevel) CoreKvOps.removeAsync
(CoreCommonOptions common, String key, long cas, CoreDurability durability) CoreKvOps.replaceAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) CoreKvOps.subdocGetAsync
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) CoreKvOps.subdocMutateAsync
(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) CoreKvOps.touchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) CoreKvOps.unlockAsync
(CoreCommonOptions common, String key, long cas) CoreKvOps.upsertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) Method parameters in com.couchbase.client.core.api.kv with type arguments of type CoreAsyncResponseModifier and TypeMethodDescription<U> CoreAsyncResponse<U>
CoreAsyncResponse.flatMap
(Function<? super T, ? extends CoreAsyncResponse<U>> fn) -
Uses of CoreAsyncResponse in com.couchbase.client.core.api.query
Methods in com.couchbase.client.core.api.query that return CoreAsyncResponseModifier and TypeMethodDescriptionCoreQueryOps.queryAsync
(String statement, CoreQueryOptions options, CoreQueryContext queryContext, NodeIdentifier target, Function<Throwable, RuntimeException> errorConverter) -
Uses of CoreAsyncResponse in com.couchbase.client.core.api.search
Methods in com.couchbase.client.core.api.search that return CoreAsyncResponseModifier and TypeMethodDescriptionClassicCoreSearchOps.searchAsync
(String indexName, CoreSearchRequest searchRequest, CoreSearchOptions options) CoreSearchOps.searchAsync
(String indexName, CoreSearchRequest searchRequest, CoreSearchOptions options) ClassicCoreSearchOps.searchQueryAsync
(String indexName, CoreSearchQuery query, CoreSearchOptions options) CoreSearchOps.searchQueryAsync
(String indexName, CoreSearchQuery query, CoreSearchOptions options) -
Uses of CoreAsyncResponse in com.couchbase.client.core.classic
Methods in com.couchbase.client.core.classic that return CoreAsyncResponseModifier and TypeMethodDescriptionstatic <T,
RES extends Response>
CoreAsyncResponse<T>ClassicHelper.newAsyncResponse
(Request<RES> request, CompletableFuture<T> future) Returns a new async response whose cancellation task callsRequest.cancel(CancellationReason)
. -
Uses of CoreAsyncResponse in com.couchbase.client.core.classic.kv
Methods in com.couchbase.client.core.classic.kv that return CoreAsyncResponseModifier and TypeMethodDescriptionClassicCoreKvBinaryOps.appendAsync
(String id, byte[] content, CoreCommonOptions options, long cas, CoreDurability durability) Appends binary content to the document with custom options.ClassicCoreKvBinaryOps.decrementAsync
(String id, CoreCommonOptions options, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) Decrements the counter document by one or the number defined in the options.ClassicCoreKvOps.existsAsync
(CoreCommonOptions common, String key) ClassicCoreKvOps.getAndLockAsync
(CoreCommonOptions common, String key, Duration lockTime) ClassicCoreKvOps.getAndTouchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) ClassicCoreKvOps.getAsync
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) ClassicCoreKvBinaryOps.incrementAsync
(String id, CoreCommonOptions options, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) Increments the counter document by one or the number defined in the options.ClassicCoreKvOps.insertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) ClassicCoreKvBinaryOps.prependAsync
(String id, byte[] content, CoreCommonOptions options, long cas, CoreDurability durability) Prepends binary content to the document with custom options.ClassicCoreKvOps.removeAsync
(CoreCommonOptions common, String key, long cas, CoreDurability durability) ClassicCoreKvOps.replaceAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) ClassicCoreKvOps.subdocGetAsync
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) ClassicCoreKvOps.subdocMutateAsync
(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) ClassicCoreKvOps.touchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) ClassicCoreKvOps.unlockAsync
(CoreCommonOptions common, String key, long cas) ClassicCoreKvOps.upsertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
Uses of CoreAsyncResponse in com.couchbase.client.core.classic.query
Methods in com.couchbase.client.core.classic.query that return CoreAsyncResponseModifier and TypeMethodDescriptionClassicCoreQueryOps.queryAsync
(String statement, CoreQueryOptions options, CoreQueryContext queryContext, NodeIdentifier target, Function<Throwable, RuntimeException> errorConverter) -
Uses of CoreAsyncResponse in com.couchbase.client.core.protostellar
Methods in com.couchbase.client.core.protostellar that return CoreAsyncResponseModifier and TypeMethodDescriptionstatic <TSdkResult,
TGrpcRequest, TGrpcResponse>
CoreAsyncResponse<TSdkResult>CoreProtostellarAccessors.async
(CoreProtostellar core, ProtostellarRequest<TGrpcRequest> request, Function<ProtostellarEndpoint, com.couchbase.client.core.deps.com.google.common.util.concurrent.ListenableFuture<TGrpcResponse>> executeFutureGrpcCall, Function<TGrpcResponse, TSdkResult> convertResponse) Convenience overload that uses the default exception handling.static <TSdkResult,
TGrpcRequest, TGrpcResponse>
CoreAsyncResponse<TSdkResult>CoreProtostellarAccessors.async
(CoreProtostellar core, ProtostellarRequest<TGrpcRequest> request, Function<ProtostellarEndpoint, com.couchbase.client.core.deps.com.google.common.util.concurrent.ListenableFuture<TGrpcResponse>> executeFutureGrpcCall, Function<TGrpcResponse, TSdkResult> convertResponse, Function<Throwable, ProtostellarRequestBehaviour> convertException) static <TGrpcRequest,
TGrpcResponse>
CoreAsyncResponse<List<TGrpcResponse>>CoreProtostellarAccessorsStreaming.async
(CoreProtostellar core, ProtostellarRequest<TGrpcRequest> request, BiConsumer<ProtostellarEndpoint, com.couchbase.client.core.deps.io.grpc.stub.StreamObserver<TGrpcResponse>> executeFutureGrpcCall, Function<Throwable, ProtostellarRequestBehaviour> convertException) -
Uses of CoreAsyncResponse in com.couchbase.client.core.protostellar.kv
Methods in com.couchbase.client.core.protostellar.kv that return CoreAsyncResponseModifier and TypeMethodDescriptionProtostellarCoreKvBinaryOps.appendAsync
(String id, byte[] content, CoreCommonOptions options, long cas, CoreDurability durability) ProtostellarCoreKvBinaryOps.decrementAsync
(String id, CoreCommonOptions options, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) ProtostellarCoreKvOps.existsAsync
(CoreCommonOptions common, String key) ProtostellarCoreKvOps.getAndLockAsync
(CoreCommonOptions common, String key, Duration lockTime) ProtostellarCoreKvOps.getAndTouchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) ProtostellarCoreKvOps.getAsync
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) ProtostellarCoreKvBinaryOps.incrementAsync
(String id, CoreCommonOptions options, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) ProtostellarCoreKvOps.insertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) ProtostellarCoreKvBinaryOps.prependAsync
(String id, byte[] content, CoreCommonOptions options, long cas, CoreDurability durability) ProtostellarCoreKvOps.removeAsync
(CoreCommonOptions common, String key, long cas, CoreDurability durability) ProtostellarCoreKvOps.replaceAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) ProtostellarCoreKvOps.subdocGetAsync
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) ProtostellarCoreKvOps.subdocMutateAsync
(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) ProtostellarCoreKvOps.touchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) ProtostellarCoreKvOps.unlockAsync
(CoreCommonOptions common, String key, long cas) ProtostellarCoreKvOps.upsertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
Uses of CoreAsyncResponse in com.couchbase.client.core.protostellar.query
Methods in com.couchbase.client.core.protostellar.query that return CoreAsyncResponseModifier and TypeMethodDescriptionProtostellarCoreQueryOps.queryAsync
(String statement, CoreQueryOptions options, CoreQueryContext queryContext, NodeIdentifier target, Function<Throwable, RuntimeException> errorConverter) -
Uses of CoreAsyncResponse in com.couchbase.client.core.protostellar.search
Methods in com.couchbase.client.core.protostellar.search that return CoreAsyncResponseModifier and TypeMethodDescriptionProtostellarCoreSearchOps.searchAsync
(String indexName, CoreSearchRequest searchRequest, CoreSearchOptions options) ProtostellarCoreSearchOps.searchQueryAsync
(String indexName, CoreSearchQuery search, CoreSearchOptions options)