40 polling_interval_ = std::chrono::duration_cast<std::chrono::milliseconds>(duration);
72 bool watch_primary_{
false };
73 std::chrono::milliseconds polling_interval_{ 1000 };
Common options that used by most operations.
Definition common_options.hxx:37
auto self() -> watch_query_indexes_options &
Definition common_options.hxx:102
auto build_common_options() const -> built
Definition common_options.hxx:89
Definition watch_query_indexes_options.hxx:29
auto polling_interval(T duration)
Definition watch_query_indexes_options.hxx:38
auto watch_primary(bool watch_primary) -> watch_query_indexes_options &
Definition watch_query_indexes_options.hxx:31
auto build() const -> built
Validates options and returns them as an immutable value.
Definition watch_query_indexes_options.hxx:66
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
std::function< void(error)> watch_query_indexes_handler
The signature for the handler of the query_index_manager::get_all_indexes() operation.
Definition watch_query_indexes_options.hxx:83
Immutable value object representing consistent options.
Definition watch_query_indexes_options.hxx:50
bool watch_primary
Definition watch_query_indexes_options.hxx:51
std::chrono::milliseconds polling_interval
Definition watch_query_indexes_options.hxx:52