|
Couchbase C++ SDK 1.2.0 (rev. c2439a4)
|
#include <couchbase/diagnostics_options.hxx>

Classes | |
| struct | built |
| Immutable value object representing consistent options. More... | |
Public Member Functions | |
| auto | report_id (std::string report_id) -> diagnostics_options & |
| Sets a custom report ID that will be used in the report. | |
| auto | build () const -> built |
| Validates the options and returns them as an immutable value. | |
| Public Member Functions inherited from common_options< diagnostics_options > | |
| auto | timeout (const std::chrono::milliseconds timeout) -> diagnostics_options & |
| Specifies a custom per-operation timeout. | |
| auto | retry_strategy (const std::shared_ptr< retry_strategy > strategy) -> diagnostics_options & |
Specifies a custom couchbase::retry_strategy for this operation. | |
| auto | parent_span (std::shared_ptr< tracing::request_span > span) -> diagnostics_options & |
Additional Inherited Members | |
| Protected Member Functions inherited from common_options< diagnostics_options > | |
| auto | build_common_options () const -> built |
| auto | self () -> diagnostics_options & |
| Allows to return the right options builder instance for child implementations. | |
|
inlinenodiscard |
Validates the options and returns them as an immutable value.
| std::system_error | with code errc::common::invalid_argument if the options are not valid |
|
inline |
Sets a custom report ID that will be used in the report.
If no report ID is provided, the client will generate a unique one.
| report_id | the report ID that should be used. |