@Stability.Internal public abstract class CommonOptions.BuiltCommonOptions extends Object implements CoreCommonOptions
DEFAULT| Constructor and Description |
|---|
BuiltCommonOptions() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
clientContext()
Returns the client context, or null if not present.
|
Optional<RequestSpan> |
parentSpan()
Returns the parent span provided by the user if present.
|
Optional<RetryStrategy> |
retryStrategy()
Returns the custom retry strategy if provided.
|
Optional<Duration> |
timeout()
Returns the custom timeout if provided.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, withParentSpanpublic Optional<RetryStrategy> retryStrategy()
retryStrategy in interface CoreCommonOptionspublic Optional<Duration> timeout()
timeout in interface CoreCommonOptionspublic Map<String,Object> clientContext()
public Optional<RequestSpan> parentSpan()
parentSpan in interface CoreCommonOptionsCopyright © 2021 Couchbase, Inc.. All rights reserved.