Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
couchbase::transactions Namespace Reference

Classes

class  async_attempt_context
 The async_attempt_context is used for all asynchronous transaction operations. More...
 
class  attempt_context
 The attempt_context is used for all synchronous transaction operations. More...
 
class  transaction_get_result
 The representation of the document in context of distributed transaction. More...
 
struct  transaction_keyspace
 Offline, serializable representation of a bucket, scope, and collection. More...
 
class  transaction_options
 The transaction_options can be passed in to override some elements of the global transactions_config. More...
 
class  transaction_query_options
 The transaction_query_options are options specific to a query. More...
 
class  transaction_query_result
 Transactional queries will return a transaction_query_result. More...
 
struct  transaction_result
 Results of a transaction. More...
 
class  transactions
 The transactions object is used to initiate a transaction. More...
 
class  transactions_cleanup_config
 Configuration parameters for the background transaction cleanup threads. More...
 
class  transactions_config
 Configuration parameters for transactions. More...
 
class  transactions_query_config
 The transactions_query_config sets the defaults for all queries in the transactions. More...
 

Typedefs

using txn_logic = std::function<error(std::shared_ptr<attempt_context>)>
 
using async_txn_logic = std::function<error(std::shared_ptr<async_attempt_context>)>
 
using async_txn_complete_logic = std::function<void(error, transaction_result)>
 
using async_result_handler = std::function<void(error, transaction_get_result)>
 
using async_query_handler = std::function<void(error, transaction_query_result)>
 
using async_err_handler = std::function<void(error)>
 

Typedef Documentation

◆ async_err_handler

using async_err_handler = std::function<void(error)>

◆ async_query_handler

using async_query_handler = std::function<void(error, transaction_query_result)>

◆ async_result_handler

using async_result_handler = std::function<void(error, transaction_get_result)>

◆ async_txn_complete_logic

using async_txn_complete_logic = std::function<void(error, transaction_result)>

◆ async_txn_logic

using async_txn_logic = std::function<error(std::shared_ptr<async_attempt_context>)>

◆ txn_logic

using txn_logic = std::function<error(std::shared_ptr<attempt_context>)>