Package com.couchbase.client.java
Class CommonOptions.BuiltCommonOptions
- java.lang.Object
-
- com.couchbase.client.java.CommonOptions.BuiltCommonOptions
-
- All Implemented Interfaces:
CoreCommonOptions
- Direct Known Subclasses:
AllowQueryingSearchIndexOptions.Built
,AnalyticsOptions.Built
,AnalyzeDocumentOptions.Built
,BuildQueryIndexOptions.Built
,ChangePasswordOptions.Built
,CommonDatastructureOptions.BuiltCommonDatastructureOptions
,CommonDurabilityOptions.BuiltCommonDurabilityOptions
,CommonHttpOptions.BuiltCommonHttpOptions
,ConnectLinkAnalyticsOptions.Built
,CreateBucketOptions.Built
,CreateCollectionOptions.Built
,CreateDatasetAnalyticsOptions.Built
,CreateDataverseAnalyticsOptions.Built
,CreateIndexAnalyticsOptions.Built
,CreateLinkAnalyticsOptions.Built
,CreatePrimaryQueryIndexOptions.Built
,CreateQueryIndexOptions.Built
,CreateScopeOptions.Built
,DeployFunctionOptions.Built
,DisallowQueryingSearchIndexOptions.Built
,DisconnectLinkAnalyticsOptions.Built
,DropBucketOptions.Built
,DropCollectionOptions.Built
,DropDatasetAnalyticsOptions.Built
,DropDataverseAnalyticsOptions.Built
,DropDesignDocumentOptions.Built
,DropFunctionOptions.Built
,DropGroupOptions.Built
,DropIndexAnalyticsOptions.Built
,DropLinkAnalyticsOptions.Built
,DropPrimaryQueryIndexOptions.Built
,DropQueryIndexOptions.Built
,DropScopeOptions.Built
,DropSearchIndexOptions.Built
,DropUserOptions.Built
,ExistsOptions.Built
,FlushBucketOptions.Built
,FreezePlanSearchIndexOptions.Built
,FunctionsStatusOptions.Built
,GetAllBucketOptions.Built
,GetAllDatasetsAnalyticsOptions.Built
,GetAllDataversesAnalyticsOptions.Built
,GetAllDesignDocumentsOptions.Built
,GetAllFunctionsOptions.Built
,GetAllGroupsOptions.Built
,GetAllIndexesAnalyticsOptions.Built
,GetAllQueryIndexesOptions.Built
,GetAllReplicasOptions.Built
,GetAllScopesOptions.Built
,GetAllSearchIndexesOptions.Built
,GetAllUsersOptions.Built
,GetAndLockOptions.Built
,GetAndTouchOptions.Built
,GetAnyReplicaOptions.Built
,GetBucketOptions.Built
,GetDesignDocumentOptions.Built
,GetFunctionOptions.Built
,GetGroupOptions.Built
,GetIndexedSearchIndexOptions.Built
,GetLinksAnalyticsOptions.Built
,GetOptions.Built
,GetPendingMutationsAnalyticsOptions.Built
,GetRolesOptions.Built
,GetScopeOptions.Built
,GetSearchIndexOptions.Built
,GetUserOptions.Built
,LookupInOptions.Built
,PauseFunctionOptions.Built
,PauseIngestSearchIndexOptions.Built
,PublishDesignDocumentOptions.Built
,QueryOptions.Built
,RawManagerOptions.Built
,ReplaceLinkAnalyticsOptions.Built
,ResumeFunctionOptions.Built
,ResumeIngestSearchIndexOptions.Built
,ScanOptions.Built
,SearchOptions.Built
,TouchOptions.Built
,UndeployFunctionOptions.Built
,UnfreezePlanSearchIndexOptions.Built
,UnlockOptions.Built
,UpdateBucketOptions.Built
,UpsertDesignDocumentOptions.Built
,UpsertFunctionOptions.Built
,UpsertGroupOptions.Built
,UpsertSearchIndexOptions.Built
,UpsertUserOptions.Built
,ViewOptions.Built
,WatchQueryIndexesOptions.Built
- Enclosing class:
- CommonOptions<SELF extends CommonOptions<SELF>>
@Internal public abstract class CommonOptions.BuiltCommonOptions extends Object implements CoreCommonOptions
-
-
Field Summary
-
Fields inherited from interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description BuiltCommonOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
withParentSpan
-
-
-
-
Method Detail
-
retryStrategy
public Optional<RetryStrategy> retryStrategy()
Returns the custom retry strategy if provided.- Specified by:
retryStrategy
in interfaceCoreCommonOptions
-
timeout
public Optional<Duration> timeout()
Returns the custom timeout if provided.- Specified by:
timeout
in interfaceCoreCommonOptions
-
clientContext
public Map<String,Object> clientContext()
Returns the client context, or null if not present.- Specified by:
clientContext
in interfaceCoreCommonOptions
-
parentSpan
public Optional<RequestSpan> parentSpan()
Returns the parent span provided by the user if present.- Specified by:
parentSpan
in interfaceCoreCommonOptions
-
-