@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, wait
of, withParentSpan
public Optional<RetryStrategy> retryStrategy()
retryStrategy
in interface CoreCommonOptions
public Optional<Duration> timeout()
timeout
in interface CoreCommonOptions
public Map<String,Object> clientContext()
public Optional<RequestSpan> parentSpan()
parentSpan
in interface CoreCommonOptions
Copyright © 2021 Couchbase, Inc.. All rights reserved.