Class BaseManagerRequest<R extends Response>
java.lang.Object
com.couchbase.client.core.msg.BaseRequest<R>
com.couchbase.client.core.msg.manager.BaseManagerRequest<R>
- All Implemented Interfaces:
Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>
,ManagerRequest<R>
,Request<R>
- Direct Known Subclasses:
BucketConfigRequest
,BucketConfigStreamingRequest
,GenericManagerRequest
public abstract class BaseManagerRequest<R extends Response>
extends BaseRequest<R>
implements ManagerRequest<R>
Base class for the manager requests, mainly to define the service type in a uniform way.
-
Method Summary
Methods inherited from class com.couchbase.client.core.msg.BaseRequest
absoluteTimeout, cancel, cancellationReason, cancelled, completed, context, createdAt, fail, failed, id, requestSpan, response, retryStrategy, serviceContext, succeed, succeeded, timeout, timeoutElapsed, timeoutRegistration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.couchbase.client.core.msg.manager.ManagerRequest
decode
Methods inherited from interface com.couchbase.client.core.msg.Request
absoluteTimeout, bucket, cancel, cancel, cancellationReason, cancelled, completed, context, createdAt, fail, failed, id, idempotent, name, operationId, requestSpan, response, retryStrategy, serviceContext, succeed, succeeded, target, timeout, timeoutElapsed, timeoutRegistration
-
Method Details
-
serviceType
Description copied from interface:Request
The service type of this request.Can be null if this is a 'virtual service' (e.g. transactions), which don't map 1:1 to a particular cluster service, but need to integrate into various codepaths that are built around ServiceType such as ThresholdLoggingTracer. Virtual requests must not be sent into core at present, as there is limited support for them.
- Specified by:
serviceType
in interfaceRequest<R extends Response>
- Returns:
- the service type for this request.
-