@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.CoreCommonOptionspublic Optional<Duration> timeout()
timeout in interface com.couchbase.client.core.endpoint.http.CoreCommonOptionspublic Map<String,Object> clientContext()
clientContext in interface com.couchbase.client.core.endpoint.http.CoreCommonOptionspublic Optional<com.couchbase.client.core.cnc.RequestSpan> parentSpan()
parentSpan in interface com.couchbase.client.core.endpoint.http.CoreCommonOptionsCopyright © 2024 Couchbase, Inc.. All rights reserved.