17 #ifndef ABSTRACTTRANSACTABLE_HPP_
18 #define ABSTRACTTRANSACTABLE_HPP_
27 template<
class Container>
62 KAA_LOG_DEBUG(boost::format(
"Transaction with id %1% was not found. Creating new instance") % trxId->getId());
virtual ~AbstractTransactable()
#define KAA_LOG_DEBUG(message)
Container & getContainerByTrxId(TransactionIdPtr trxId, IKaaClientContext &context_)
std::shared_ptr< TransactionId > TransactionIdPtr
#define KAA_MUTEX_LOCKED(mutex_name)
virtual TransactionIdPtr beginTransaction(IKaaClientContext &context_)
#define KAA_MUTEX_UNIQUE_DECLARE(name, mtx)
std::map< TransactionIdPtr, Container > transactions_
virtual void rollback(TransactionIdPtr trxId, IKaaClientContext &context_)
KAA_MUTEX_DECLARE(transactionsGuard_)
#define KAA_MUTEX_LOCKING(mutex_name)