|
Couchbase C++ SDK 1.4.0 (rev. 59aa900)
|
Options for get_all_replicas(). More...
#include <couchbase/get_all_replicas_options.hxx>

Classes | |
| struct | built |
| Immutable value object representing consistent options. More... | |
Public Member Functions | |
| auto | read_preference (read_preference preference) -> get_all_replicas_options & |
| Choose how the replica nodes will be selected. | |
| auto | build () const -> built |
| Validates options and returns them as an immutable value. | |
| Public Member Functions inherited from common_options< get_all_replicas_options > | |
| auto | timeout (const std::chrono::milliseconds timeout) -> get_all_replicas_options & |
| Specifies a custom per-operation timeout. | |
| auto | retry_strategy (const std::shared_ptr< retry_strategy > strategy) -> get_all_replicas_options & |
Specifies a custom couchbase::retry_strategy for this operation. | |
| auto | parent_span (std::shared_ptr< tracing::request_span > span) -> get_all_replicas_options & |
Additional Inherited Members | |
| Protected Member Functions inherited from common_options< get_all_replicas_options > | |
| auto | build_common_options () const -> built |
| auto | self () -> get_all_replicas_options & |
| Allows to return the right options builder instance for child implementations. | |
Options for get_all_replicas().
|
inlinenodiscard |
Validates options and returns them as an immutable value.
| std::system_error | with code errc::common::invalid_argument if the options are not valid |
|
inline |
Choose how the replica nodes will be selected.
By default it has no preference and will select all replicas available. But it is possible to prioritize or restrict to only nodes in local server group.
| preference |