| Package | Description |
|---|---|
| com.couchbase.client.core | |
| com.couchbase.client.core.endpoint | |
| com.couchbase.client.core.protostellar |
| Modifier and Type | Method and Description |
|---|---|
ProtostellarEndpoint |
CoreProtostellar.endpoint() |
| Modifier and Type | Method and Description |
|---|---|
ProtostellarEndpoint |
ProtostellarPool.endpoint() |
| Modifier and Type | Method and Description |
|---|---|
List<ProtostellarEndpoint> |
ProtostellarPool.endpoints() |
| Modifier and Type | Method and Description |
|---|---|
static <TGrpcRequest,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) |
static <TSdkResult,TGrpcRequest,TGrpcResponse> |
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> |
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 <TSdkResult,TGrpcRequest,TGrpcResponse> |
CoreProtostellarAccessors.asyncInternal(CompletableFuture<TSdkResult> ret,
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> |
CoreProtostellarAccessorsStreaming.blocking(CoreProtostellar core,
ProtostellarRequest<TGrpcRequest> request,
BiConsumer<ProtostellarEndpoint,com.couchbase.client.core.deps.io.grpc.stub.StreamObserver<TGrpcResponse>> executeFutureGrpcCall,
Function<Throwable,ProtostellarRequestBehaviour> convertException) |
static <TSdkResult,TGrpcRequest,TGrpcResponse> |
CoreProtostellarAccessors.blocking(CoreProtostellar core,
ProtostellarRequest<TGrpcRequest> request,
Function<ProtostellarEndpoint,TGrpcResponse> executeBlockingGrpcCall,
Function<TGrpcResponse,TSdkResult> convertResponse)
Convenience overload that uses the default exception handling.
|
static <TSdkResult,TGrpcRequest,TGrpcResponse> |
CoreProtostellarAccessors.blocking(CoreProtostellar core,
ProtostellarRequest<TGrpcRequest> request,
Function<ProtostellarEndpoint,TGrpcResponse> executeBlockingGrpcCall,
Function<TGrpcResponse,TSdkResult> convertResponse,
Function<Throwable,ProtostellarRequestBehaviour> convertException) |
static <TGrpcRequest,TGrpcResponse> |
CoreProtostellarAccessorsStreaming.reactive(CoreProtostellar core,
ProtostellarRequest<TGrpcRequest> request,
BiConsumer<ProtostellarEndpoint,com.couchbase.client.core.deps.io.grpc.stub.StreamObserver<TGrpcResponse>> executeFutureGrpcCall,
Function<Throwable,ProtostellarRequestBehaviour> convertException) |
static <TSdkResult,TGrpcRequest,TGrpcResponse> |
CoreProtostellarAccessors.reactive(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> |
CoreProtostellarAccessors.reactive(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 <TSdkResult,TGrpcRequest,TGrpcResponse> |
CoreProtostellarAccessors.reactiveInternal(Sinks.One<TSdkResult> ret,
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)
This method must always be called at Reactive runtime, not build-time (e.g., inside a Mono.defer or similar).
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.