Couchbase C++ SDK
1.4.0 (rev. 59aa900)
Toggle main menu visibility
Loading...
Searching...
No Matches
transaction_get_multi_options.hxx
Go to the documentation of this file.
1
/*
2
* Copyright 2021-Present Couchbase, Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
#pragma once
17
18
#include <
couchbase/transactions/transaction_get_multi_mode.hxx
>
19
20
namespace
couchbase
21
{
22
namespace
core::transactions
23
{
24
class
attempt_context_impl;
25
}
// namespace core::transactions
26
27
namespace
transactions
28
{
29
class
transaction_get_multi_options
30
{
31
public
:
32
auto
mode
(
transaction_get_multi_mode
mode
) ->
transaction_get_multi_options
&
33
{
34
mode_ =
mode
;
35
return
*
this
;
36
}
37
38
private
:
39
friend
class
core::transactions::attempt_context_impl
;
40
41
transaction_get_multi_mode
mode_{
transaction_get_multi_mode::prioritise_latency
};
42
};
43
}
// namespace transactions
44
}
// namespace couchbase
couchbase::transactions::transaction_get_multi_options
Definition
transaction_get_multi_options.hxx:30
couchbase::transactions::transaction_get_multi_options::attempt_context_impl
friend class core::transactions::attempt_context_impl
Definition
transaction_get_multi_options.hxx:39
couchbase::transactions::transaction_get_multi_options::mode
auto mode(transaction_get_multi_mode mode) -> transaction_get_multi_options &
Definition
transaction_get_multi_options.hxx:32
couchbase::core::transactions
Definition
transaction_get_multi_options.hxx:23
couchbase::transactions::transaction_get_multi_mode
transaction_get_multi_mode
Strategy to deal with potential read skews while reading multiple documents.
Definition
transaction_get_multi_mode.hxx:29
couchbase::transactions::transaction_get_multi_mode::prioritise_latency
@ prioritise_latency
Some time-bounded effort will be made to detect and avoid read skew.
Definition
transaction_get_multi_mode.hxx:33
couchbase
Represents a single item from the result of scan().
Definition
allow_querying_search_index_options.hxx:28
transaction_get_multi_mode.hxx
couchbase
transactions
transaction_get_multi_options.hxx
Generated by
1.17.0