|
Everett
|
#include <transaction.h>
Classes | |
| struct | nursery_value |
| struct | origin |
| struct | snapshot_type |
| struct | stage |
Public Types | |
| using | policy_type = typename Core::policy_type |
| using | family_type = typename Core::runtime_family |
| using | transport = typed_detail::transport_t< policy_type, family_type > |
| using | world_type = typename Core::world_type |
| using | connection_type = connection< Core > |
| using | engine_type = typename connection_type::engine_type |
| using | session_type = typename connection_type::session_type |
| using | stored_type = typename connection_type::world_type |
| using | ticket = typename connection_type::ticket |
| using | nursery_type = nursery_map< bit_string, nursery_value, transaction_detail::key_less< typename policy_type::architecture > > |
| using | scope_type = private_construction< policy_type > |
| using | store_type = typename connection_type::store_type |
Public Member Functions | |
| transaction (transaction const &)=delete | |
| transaction & | operator= (transaction const &)=delete |
| transaction (transaction &&)=default | |
| transaction & | operator= (transaction &&)=delete |
| snapshot_type | snapshot () |
| template<class S = typed_detail::default_sort_t<policy_type>> | |
| auto | get (typed_detail::key_t< S > const &key) const |
| template<class S = typed_detail::default_sort_t<policy_type>> | |
| void | change (typed_detail::key_t< S > const &key, typed_detail::arrow_t< S > const &arrow) |
| template<class S = typed_detail::default_sort_t<policy_type>> requires typed_detail::replacement<S> | |
| void | put (typed_detail::key_t< S > const &key, typed_detail::state_t< S > const &value) |
| template<class S = typed_detail::default_sort_t<policy_type>> requires typed_detail::replacement<S> | |
| void | erase (typed_detail::key_t< S > const &key) |
| snapshot_type | flush () |
| ticket | commit_async () |
| stored_type | commit () |
| void | abort () noexcept |
| bool | failed () const noexcept |
Private Member Functions | |
| transaction (connection_type &connection) | |
| transaction (snapshot_type const &saved) | |
| void | ensure_core () |
| void | require_active () const |
| void | release () noexcept |
Private Attributes | |
| std::shared_ptr< origin const > | origin_ |
| std::shared_ptr< stage const > | stage_ |
| std::optional< nursery_type > | nursery_ {std::in_place} |
| std::shared_ptr< scope_type > | scope_ |
| std::unique_ptr< store_type > | store_ |
| std::unique_ptr< Core > | core_ |
| bool | closed_ = false |
| bool | failed_ = false |
| friend | connection_type |
| using everett::transaction< Core >::connection_type = connection<Core> |
| using everett::transaction< Core >::engine_type = typename connection_type::engine_type |
| using everett::transaction< Core >::family_type = typename Core::runtime_family |
| using everett::transaction< Core >::nursery_type = nursery_map<bit_string, nursery_value, transaction_detail::key_less<typename policy_type::architecture> > |
| using everett::transaction< Core >::policy_type = typename Core::policy_type |
| using everett::transaction< Core >::scope_type = private_construction<policy_type> |
| using everett::transaction< Core >::session_type = typename connection_type::session_type |
| using everett::transaction< Core >::store_type = typename connection_type::store_type |
| using everett::transaction< Core >::stored_type = typename connection_type::world_type |
| using everett::transaction< Core >::ticket = typename connection_type::ticket |
| using everett::transaction< Core >::transport = typed_detail::transport_t<policy_type, family_type> |
| using everett::transaction< Core >::world_type = typename Core::world_type |
|
delete |
|
default |
|
inlineexplicitprivate |
|
inlineexplicitprivate |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
inlineprivatenoexcept |
|
inlineprivate |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |