Couchbase C++ SDK
1.4.0 (rev. 59aa900)
Toggle main menu visibility
Loading...
Searching...
No Matches
transaction_get_multi_mode.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 <cstdint>
19
20
namespace
couchbase::transactions
21
{
29
enum class
transaction_get_multi_mode
: std::uint8_t {
33
prioritise_latency
,
34
39
disable_read_skew_detection
,
40
44
prioritise_read_skew_detection
,
45
};
46
47
}
// namespace couchbase::transactions
couchbase::transactions
Definition
transactions.hxx:43
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_read_skew_detection
@ prioritise_read_skew_detection
Great effort will be made to detect and avoid read skew.
Definition
transaction_get_multi_mode.hxx:44
couchbase::transactions::transaction_get_multi_mode::disable_read_skew_detection
@ disable_read_skew_detection
No read skew detection should be attempted.
Definition
transaction_get_multi_mode.hxx:39
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
transactions
transaction_get_multi_mode.hxx
Generated by
1.17.0