CatapultServer
v0.5.0.1 (Elephant)
|
Mongo lock info cache storage traits. More...
Public Types | |
using | CacheDeltaType = typename TLockInfoTraits::CacheDeltaType |
using | KeyType = typename TLockInfoTraits::KeyType |
using | ModelType = typename TLockInfoTraits::ModelType |
Static Public Member Functions | |
static auto | MapToMongoId (const KeyType &key) |
Maps key to a mongo identifier. More... | |
static auto | MapToMongoDocument (const ModelType &lockInfo, model::NetworkIdentifier networkIdentifier) |
Maps lockInfo given network networkIdentifier to a mongo document. More... | |
Mongo lock info cache storage traits.
using catapult::mongo::plugins::MongoLockInfoCacheStorageTraits< TLockInfoTraits >::CacheDeltaType = typename TLockInfoTraits::CacheDeltaType |
using catapult::mongo::plugins::MongoLockInfoCacheStorageTraits< TLockInfoTraits >::KeyType = typename TLockInfoTraits::KeyType |
using catapult::mongo::plugins::MongoLockInfoCacheStorageTraits< TLockInfoTraits >::ModelType = typename TLockInfoTraits::ModelType |
|
inlinestatic |
Maps lockInfo given network networkIdentifier to a mongo document.
|
inlinestatic |
Maps key to a mongo identifier.