CatapultServer
v0.5.0.1 (Elephant)
|
Provides common view of aggregate cache changes. More...
Public Types | |
using | MemoryCacheChangesContainer = std::vector< std::unique_ptr< const MemoryCacheChanges > > |
Memory cache changes container. More... | |
Public Member Functions | |
CacheChanges (const CatapultCacheDelta &cacheDelta) | |
Creates changes around cacheDelta. More... | |
CacheChanges (MemoryCacheChangesContainer &&memoryCacheChangesContainer) | |
Creates changes around memoryCacheChangesContainer. More... | |
template<typename TCache > | |
auto | sub () const |
Gets a specific sub cache changes view. More... | |
Public Member Functions inherited from catapult::utils::MoveOnly | |
constexpr | MoveOnly ()=default |
Default constructor. More... | |
~MoveOnly ()=default | |
Default destructor. More... | |
MoveOnly (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
MoveOnly (MoveOnly &&)=default | |
Default move constructor. More... | |
MoveOnly & | operator= (const MoveOnly &)=delete |
Disabled assignment operator. More... | |
MoveOnly & | operator= (MoveOnly &&)=default |
Default move assignment operator. More... | |
Private Attributes | |
const CatapultCacheDelta * | m_pCacheDelta |
MemoryCacheChangesContainer | m_memoryCacheChangesContainer |
Provides common view of aggregate cache changes.
using catapult::cache::CacheChanges::MemoryCacheChangesContainer = std::vector<std::unique_ptr<const MemoryCacheChanges> > |
Memory cache changes container.
|
inlineexplicit |
Creates changes around cacheDelta.
|
inlineexplicit |
Creates changes around memoryCacheChangesContainer.
|
inline |
Gets a specific sub cache changes view.
|
private |
|
private |