@Stability.Internal public abstract class CommonOptions.BuiltCommonOptions extends Object implements com.couchbase.client.core.endpoint.http.CoreCommonOptions
Constructor and Description |
---|
BuiltCommonOptions() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
clientContext()
Returns the client context, or null if not present.
|
Optional<com.couchbase.client.core.cnc.RequestSpan> |
parentSpan()
Returns the parent span provided by the user if present.
|
Optional<com.couchbase.client.core.retry.RetryStrategy> |
retryStrategy()
Returns the custom retry strategy if provided.
|
Optional<Duration> |
timeout()
Returns the custom timeout if provided.
|
public Optional<com.couchbase.client.core.retry.RetryStrategy> retryStrategy()
retryStrategy
in interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
public Optional<Duration> timeout()
timeout
in interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
public Map<String,Object> clientContext()
clientContext
in interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
public Optional<com.couchbase.client.core.cnc.RequestSpan> parentSpan()
parentSpan
in interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
Copyright © 2024 Couchbase, Inc.. All rights reserved.