CatapultServer
v0.5.0.1 (Elephant)
|
Factory for creating mongo transaction plugins. More...
Classes | |
class | BasicTransactionPluginT |
class | TransactionPluginT |
Static Public Member Functions | |
template<typename TEmbeddedTransaction , typename TStreamEmbeddedFunc > | |
static std::unique_ptr< EmbeddedTransactionPlugin > | CreateEmbedded (TStreamEmbeddedFunc streamEmbeddedFunc) |
Creates an embedded transaction plugin around streamEmbeddedFunc. More... | |
template<typename TTransaction , typename TEmbeddedTransaction , typename TStreamFunc , typename TStreamEmbeddedFunc > | |
static std::unique_ptr< TransactionPlugin > | Create (TStreamFunc streamFunc, TStreamEmbeddedFunc streamEmbeddedFunc) |
Creates a transaction plugin that supports embedding around streamFunc and streamEmbeddedFunc. More... | |
Private Types | |
using | TransactionPlugin = MongoTransactionPlugin |
using | EmbeddedTransactionPlugin = EmbeddedMongoTransactionPlugin |
template<typename TEmbeddedTransaction > | |
using | EmbeddedTransactionPluginT = BasicTransactionPluginT< model::EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin > |
Factory for creating mongo transaction plugins.
|
private |
|
private |
|
private |
|
inlinestatic |
Creates a transaction plugin that supports embedding around streamFunc and streamEmbeddedFunc.
|
inlinestatic |
Creates an embedded transaction plugin around streamEmbeddedFunc.