Uses of Class
com.couchbase.client.core.protostellar.ProtostellarRequest
-
-
Uses of ProtostellarRequest in com.couchbase.client.core.protostellar
Subclasses of ProtostellarRequest in com.couchbase.client.core.protostellar Modifier and Type Class Description classProtostellarCollectionManagerRequest<TGrpcRequest>classProtostellarKeyValueRequest<TGrpcRequest>Methods in com.couchbase.client.core.protostellar that return ProtostellarRequest Modifier and Type Method Description ProtostellarRequest<TGrpcRequest>ProtostellarRequest. encodeLatency(long encodeLatency)ProtostellarRequest<TGrpcRequest>ProtostellarRequest. request(TGrpcRequest request)Methods in com.couchbase.client.core.protostellar with parameters of type ProtostellarRequest Modifier and Type Method Description static <TSdkResult,TGrpcRequest,TGrpcResponse>
CoreAsyncResponse<TSdkResult>CoreProtostellarAccessors. async(Core 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(Core 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>
voidCoreProtostellarAccessors. asyncInternal(CompletableFuture<TSdkResult> ret, Core 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>
TSdkResultCoreProtostellarAccessors. blocking(Core core, ProtostellarRequest<TGrpcRequest> request, Function<ProtostellarEndpoint,TGrpcResponse> executeBlockingGrpcCall, Function<TGrpcResponse,TSdkResult> convertResponse)Convenience overload that uses the default exception handling.static <TSdkResult,TGrpcRequest,TGrpcResponse>
TSdkResultCoreProtostellarAccessors. blocking(Core core, ProtostellarRequest<TGrpcRequest> request, Function<ProtostellarEndpoint,TGrpcResponse> executeBlockingGrpcCall, Function<TGrpcResponse,TSdkResult> convertResponse, Function<Throwable,ProtostellarRequestBehaviour> convertException)static ProtostellarRequestBehaviourCoreProtostellarErrorHandlingUtil. convertKeyValueException(Core core, ProtostellarRequest<?> request, Throwable t)static <TResponse>
ProtostellarRequestBehaviourCoreProtostellarUtil. convertKeyValueException(Core core, ProtostellarRequest<TResponse> request, Throwable t)static <T> booleanCoreProtostellarUtil. handleShutdownAsync(Core core, CompletableFuture<T> ret, ProtostellarRequest<?> request)static voidCoreProtostellarUtil. handleShutdownBlocking(Core core, ProtostellarRequest<?> request)static <T> Mono<T>CoreProtostellarUtil. handleShutdownReactive(Core core, ProtostellarRequest<?> request)static <TSdkResult>
booleanCoreProtostellarUtil. handleShutdownReactive(Sinks.One<TSdkResult> ret, Core core, ProtostellarRequest<?> request)static <TSdkResult,TGrpcRequest,TGrpcResponse>
Mono<TSdkResult>CoreProtostellarAccessors. reactive(Core 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>
Mono<TSdkResult>CoreProtostellarAccessors. reactive(Core 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>
voidCoreProtostellarAccessors. reactiveInternal(Sinks.One<TSdkResult> ret, Core 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)Constructors in com.couchbase.client.core.protostellar with parameters of type ProtostellarRequest Constructor Description ProtostellarBaseRequest(Core core, ProtostellarRequest<?> request) -
Uses of ProtostellarRequest in com.couchbase.client.core.protostellar.kv
Methods in com.couchbase.client.core.protostellar.kv that return ProtostellarRequest Modifier and Type Method Description static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.AppendRequest>CoreProtoStellarKvBinaryRequests. appendRequest(Core core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, byte[] content, long cas, CoreDurability durability)For creating Protostellar GRPC requests.static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.DecrementRequest>CoreProtoStellarKvBinaryRequests. decrementRequest(Core core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, long expiry, long delta, Optional<Long> initial, CoreDurability durability)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.ExistsRequest>CoreProtostellarKeyValueRequests. existsRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetAndLockRequest>CoreProtostellarKeyValueRequests. getAndLockRequest(Core core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, Duration lockTime)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetAndTouchRequest>CoreProtostellarKeyValueRequests. getAndTouchRequest(Core core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, long expiration)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetRequest>CoreProtostellarKeyValueRequests. getRequest(Core core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, List<String> projections, boolean withExpiry)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.IncrementRequest>CoreProtoStellarKvBinaryRequests. incrementRequest(Core core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, long expiry, long delta, Optional<Long> initial, CoreDurability durability)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.InsertRequest>CoreProtostellarKeyValueRequests. insertRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, long expiry)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.MutateInRequest>CoreProtostellarKeyValueRequests. mutateInRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, List<CoreSubdocMutateCommand> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, long expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.PrependRequest>CoreProtoStellarKvBinaryRequests. prependRequest(Core core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, byte[] content, long cas, CoreDurability durability)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.RemoveRequest>CoreProtostellarKeyValueRequests. removeRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, long cas, CoreDurability durability)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.ReplaceRequest>CoreProtostellarKeyValueRequests. replaceRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, long expiry, boolean preserveExpiry)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.TouchRequest>CoreProtostellarKeyValueRequests. touchRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, long expiry)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.UnlockRequest>CoreProtostellarKeyValueRequests. unlockRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, long cas)static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.UpsertRequest>CoreProtostellarKeyValueRequests. upsertRequest(Core core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, long expiry, boolean preserveExpiry) -
Uses of ProtostellarRequest in com.couchbase.client.core.protostellar.manager
Methods in com.couchbase.client.core.protostellar.manager that return ProtostellarRequest Modifier and Type Method Description static ProtostellarRequest<com.couchbase.client.protostellar.admin.collection.v1.CreateCollectionRequest>CoreProtostellarCollectionManagerRequests. createCollectionRequest(Core core, String bucketName, String scopeName, String collectionName, Duration maxTTL, CoreCommonOptions opts)static ProtostellarRequest<com.couchbase.client.protostellar.admin.collection.v1.CreateScopeRequest>CoreProtostellarCollectionManagerRequests. createScopeRequest(Core core, String bucketName, String scopeName, CoreCommonOptions opts)static ProtostellarRequest<com.couchbase.client.protostellar.admin.collection.v1.DeleteCollectionRequest>CoreProtostellarCollectionManagerRequests. deleteCollectionRequest(Core core, String bucketName, String scopeName, String collectionName, CoreCommonOptions opts)static ProtostellarRequest<com.couchbase.client.protostellar.admin.collection.v1.DeleteScopeRequest>CoreProtostellarCollectionManagerRequests. deleteScopeRequest(Core core, String bucketName, String scopeName, CoreCommonOptions opts)static ProtostellarRequest<com.couchbase.client.protostellar.admin.collection.v1.ListCollectionsRequest>CoreProtostellarCollectionManagerRequests. listCollectionsRequest(Core core, String bucketName, CoreCommonOptions opts) -
Uses of ProtostellarRequest in com.couchbase.client.core.retry
Methods in com.couchbase.client.core.retry with parameters of type ProtostellarRequest Modifier and Type Method Description static DurationRetryOrchestratorProtostellar. capDuration(Duration uncappedDuration, ProtostellarRequest<?> request)static ProtostellarRequestBehaviourRetryOrchestratorProtostellar. shouldRetry(Core core, ProtostellarRequest<?> request, RetryReason reason)
-