Modifier and Type | Method and Description |
---|---|
RequestSpan |
RequestTracer.requestSpan(String name,
RequestSpan parent)
Creates a new request span with or without a parent.
|
Modifier and Type | Method and Description |
---|---|
RequestSpan |
RequestTracer.requestSpan(String name,
RequestSpan parent)
Creates a new request span with or without a parent.
|
Modifier and Type | Class and Description |
---|---|
class |
NoopRequestSpan
A NOOP implementation of a request span, utilized by the
NoopRequestTracer . |
class |
ThresholdRequestSpan |
Modifier and Type | Method and Description |
---|---|
RequestSpan |
ThresholdRequestTracer.requestSpan(String name,
RequestSpan parent) |
RequestSpan |
NoopRequestTracer.requestSpan(String operationName,
RequestSpan parent) |
Modifier and Type | Method and Description |
---|---|
RequestSpan |
ThresholdRequestTracer.requestSpan(String name,
RequestSpan parent) |
RequestSpan |
NoopRequestTracer.requestSpan(String operationName,
RequestSpan parent) |
Modifier and Type | Method and Description |
---|---|
static void |
TracingUtils.setCommonDispatchSpanAttributes(RequestSpan span,
String localId,
String localHost,
int localPort,
String remoteHost,
int remotePort,
String operationId)
Sets common dispatch span attributes as per spec.
|
static void |
TracingUtils.setNumericOperationId(RequestSpan span,
long operationId)
Sets the operation ID as a numeric value.
|
static void |
TracingUtils.setServerDurationAttribute(RequestSpan span,
long serverDuration)
Sets the server duration attribute, if larger than 0 (will ignore it otherwise).
|
Modifier and Type | Method and Description |
---|---|
RequestSpan |
Request.requestSpan()
Holds the internal span for this request.
|
RequestSpan |
BaseRequest.requestSpan() |
Constructor and Description |
---|
BaseRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
RequestSpan requestSpan)
Creates a basic request that has all the required properties to be
executed in general.
|
Constructor and Description |
---|
AnalyticsRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Authenticator authenticator,
byte[] query,
int priority,
boolean idempotent,
String contextId,
String statement,
RequestSpan span,
String bucket,
String scope) |
GenericAnalyticsRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Supplier<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest> requestSupplier,
boolean idempotent,
RequestSpan span) |
Constructor and Description |
---|
AppendRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
byte[] content,
long cas,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
BaseKeyValueRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
String key,
CollectionIdentifier collectionIdentifier,
RequestSpan span) |
DecrementRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
long delta,
Optional<Long> initial,
long expiry,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
GetAndLockRequest(String key,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Duration lockFor,
RequestSpan span) |
GetAndTouchRequest(String key,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
long expiration,
RequestSpan span) |
GetMetaRequest(String key,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
RequestSpan span) |
GetRequest(String key,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
RequestSpan span) |
IncrementRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
long delta,
Optional<Long> initial,
long expiration,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
InsertRequest(String key,
byte[] content,
long expiration,
int flags,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
ObserveViaSeqnoRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
int replica,
boolean active,
long vbucketUUID,
String key,
RequestSpan span) |
PrependRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
byte[] content,
long cas,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
RemoveRequest(String key,
long cas,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
ReplaceRequest(String key,
byte[] content,
long expiration,
int flags,
Duration timeout,
long cas,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
ReplicaGetRequest(String key,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
short replica,
RequestSpan span) |
SubdocGetRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
byte flags,
List<SubdocGetRequest.Command> commands,
RequestSpan span) |
SubdocMutateRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
BucketConfig bucketConfig,
RetryStrategy retryStrategy,
String key,
boolean insertDocument,
boolean upsertDocument,
boolean accessDeleted,
boolean createAsDeleted,
List<SubdocMutateRequest.Command> commands,
long expiration,
long cas,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
TouchRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
long expiry,
RequestSpan span) |
UnlockRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
long cas,
RequestSpan span) |
UpsertRequest(String key,
byte[] content,
long expiration,
int flags,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
Constructor and Description |
---|
GenericManagerRequest(CoreContext ctx,
Supplier<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest> requestSupplier,
boolean idempotent,
RequestSpan span) |
GenericManagerRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Supplier<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest> requestSupplier,
boolean idempotent,
RequestSpan span) |
Constructor and Description |
---|
QueryRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Authenticator authenticator,
String statement,
byte[] query,
boolean idempotent,
String contextId,
RequestSpan span,
String bucket,
String scope) |
TargetedQueryRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Authenticator authenticator,
String statement,
byte[] query,
boolean idempotent,
String contextId,
RequestSpan parentSpan,
String bucket,
String scope,
NodeIdentifier target) |
Constructor and Description |
---|
GenericSearchRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Supplier<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest> requestSupplier,
boolean idempotent,
RequestSpan span) |
SearchRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Authenticator authenticator,
String indexName,
byte[] content,
RequestSpan span) |
Constructor and Description |
---|
GenericViewRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Supplier<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest> requestSupplier,
boolean idempotent,
String bucket,
RequestSpan span) |
ViewRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Authenticator authenticator,
String bucket,
String design,
String view,
String query,
Optional<byte[]> keysJson,
boolean development,
RequestSpan span) |
Modifier and Type | Method and Description |
---|---|
RequestSpan |
ObserveContext.parentSpan() |
Constructor and Description |
---|
ObserveContext(CoreContext ctx,
Observe.ObservePersistTo persistTo,
Observe.ObserveReplicateTo replicateTo,
Optional<MutationToken> mutationToken,
long cas,
CollectionIdentifier collectionIdentifier,
String key,
boolean remove,
Duration timeout,
RequestSpan parentSpan) |
Copyright © 2021 Couchbase, Inc.. All rights reserved.